Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_statistics_declaration.cpp
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_statistics_declaration.cpp
r60 r75 16 16 namespace register_unit { 17 17 18 19 18 #undef FUNCTION 20 #define FUNCTION "Register_unit::statistics "21 string Register_unit::statistics (uint32_t depth)19 #define FUNCTION "Register_unit::statistics_declaration" 20 void Register_unit::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) 22 21 { 23 22 log_printf(FUNC,Register_unit,FUNCTION,"Begin"); 24 23 25 string txt = _stat->print(depth); 26 24 _stat = new Stat (static_cast<std::string>(_name), 25 "Register_unit", 26 param_statistics); 27 28 for (uint32_t i=0; i<_param->_nb_ooo_engine; i++) 29 { 30 _stat->add_stat(component_gpr [i]->_stat); 31 _stat->add_stat(component_gpr_status[i]->_stat); 32 _stat->add_stat(component_spr [i]->_stat); 33 _stat->add_stat(component_spr_status[i]->_stat); 34 } 35 _stat->add_stat(component_glue->_stat); 36 27 37 log_printf(FUNC,Register_unit,FUNCTION,"End"); 28 29 return txt;30 38 }; 31 39
Note: See TracChangeset
for help on using the changeset viewer.