Changeset 142 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_statistics_allocation.cpp
- Timestamp:
- Aug 4, 2010, 10:09:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_statistics_allocation.cpp
r141 r142 8 8 9 9 #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h" 10 #include "Behavioural/include/Allocation.h" 10 11 11 12 namespace morpheo { … … 169 170 { 170 171 _stat_nb_inst_insert [i] = _stat->create_counters("nb_inst_insert_"+toString(i),_param->_nb_inst_insert[i],"", 171 172 173 174 172 _("Cycle number with %d instruction(s) included ")+toString(_("(rename_unit %d)."),i), 173 _("Percent of cycle number with %d instruction(s) included ")+toString(_("(rename_unit %d)."),i), 174 _("Average of instruction(s) included ")+toString(_("(rename_unit %d)."),i) 175 ); 175 176 176 177 _stat_nb_inst_retire [i] = _stat->create_counters("nb_inst_retire_"+toString(i),_param->_nb_inst_retire[i],"", 177 178 179 180 178 _("Cycle number with %d instruction(s) removed ")+toString(_("(rename_unit %d)."),i), 179 _("Percent of cycle number with %d instruction(s) removed ")+toString(_("(rename_unit %d)."),i), 180 _("Average of instruction(s) removed ")+toString(_("(rename_unit %d)."),i) 181 ); 181 182 182 183 _stat_nb_inst_commit [i] = _stat->create_counters("nb_inst_commit_"+toString(i),_param->_nb_inst_commit,"", 183 184 185 _("Average of instruction(s) commited "+toString(_("(rename_unit %d)."),i))186 184 _("Cycle number with %d instruction(s) commited ")+toString(_("(rename_unit %d)."),i), 185 _("Percent of cycle number with %d instruction(s) commited ")+toString(_("(rename_unit %d)."),i), 186 _("Average of instruction(s) commited ")+toString(_("(rename_unit %d)."),i) 187 ); 187 188 188 189 average_nb_inst_commit = "+ average_nb_inst_commit_"+toString(i) + " " + average_nb_inst_commit; … … 192 193 _stat->create_expr_average_by_cycle("average_use_interface_commit_conflit_access","nb_inst_commit_conflit_access", "", _("Average access conflit by cycle on commit interface")); 193 194 _stat->create_expr_percent ("percent_use_interface_commit_conflit_access","average_use_interface_commit_conflit_access", average_nb_inst_commit, _("Percent access conflit on commit interface")); 195 196 197 // ALLOC1(_stat_last_inst ,uint32_t ,_param->_nb_thread); 198 ALLOC1(_stat_last_inst_type ,uint32_t ,_param->_nb_thread); 199 ALLOC1(_stat_last_inst_operation,uint32_t ,_param->_nb_thread); 200 ALLOC1(_stat_inst_fusion ,stat_inst_fusion_t,_param->_nb_thread); 201 202 for (uint32_t i=0; i<_param->_nb_thread; ++i) 203 { 204 //_stat_last_inst [i] = INSTRUCTION_L_NOP; 205 _stat_last_inst_type [i] = instruction_information(INSTRUCTION_L_NOP)._type ; 206 _stat_last_inst_operation [i] = instruction_information(INSTRUCTION_L_NOP)._operation; 207 } 194 208 195 209 log_end(Commit_unit,FUNCTION);
Note: See TracChangeset
for help on using the changeset viewer.