Ignore:
Timestamp:
Jan 31, 2008, 6:46:41 PM (16 years ago)
Author:
rosiere
Message:

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit.cpp

    r60 r75  
    3434    ,_param            (param)
    3535    ,_usage            (usage)
    36 #ifdef STATISTICS
    37     ,_param_statistics (param_statistics)
    38 #endif
    3936  {
    4037    log_printf(FUNC,Register_unit,FUNCTION,"Begin");
    4138
    4239    log_printf(INFO,Register_unit,FUNCTION,"Allocation");
    43     allocation ();
     40    allocation (
     41#ifdef STATISTICS
     42                param_statistics
     43#endif
     44                );
    4445
    4546#ifdef STATISTICS
     
    4748
    4849    // Allocation of statistics
    49     _stat = new Statistics (static_cast<string>(_name),
    50                             param_statistics          ,
    51                             param);
     50    statistics_declaration(param_statistics);
    5251#endif
    5352
     
    8483#ifdef STATISTICS
    8584    log_printf(INFO,Register_unit,FUNCTION,"Generate Statistics file");
    86 
    87     _stat->generate_file(statistics(0));
    8885    delete _stat;
    8986#endif
Note: See TracChangeset for help on using the changeset viewer.