Changeset 137 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp
- Timestamp:
- Feb 16, 2010, 1:35:48 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_transition.cpp
r136 r137 252 252 entry->rename_unit_id = x; 253 253 entry->depth = (_param->_have_port_depth)?PORT_READ(in_INSERT_DEPTH [x][y]):0; 254 #ifdef STATISTICS 255 entry->instruction = PORT_READ(in_INSERT_INSTRUCTION [x][y]); 256 #endif 254 257 entry->type = type; 255 258 entry->operation = operation; … … 266 269 entry->num_reg_ra_log = PORT_READ(in_INSERT_NUM_REG_RA_LOG [x][y]); 267 270 entry->num_reg_ra_phy = PORT_READ(in_INSERT_NUM_REG_RA_PHY [x][y]); 271 #endif 268 272 entry->read_rb = PORT_READ(in_INSERT_READ_RB [x][y]); 273 #ifdef DEBUG 269 274 entry->num_reg_rb_log = PORT_READ(in_INSERT_NUM_REG_RB_LOG [x][y]); 270 275 entry->num_reg_rb_phy = PORT_READ(in_INSERT_NUM_REG_RB_PHY [x][y]); … … 287 292 #ifdef DEBUG 288 293 entry->address = PORT_READ(in_INSERT_ADDRESS [x][y]); 289 #else290 entry->address = 0; // not necessary291 294 #endif 292 295 entry->address_next = PORT_READ(in_INSERT_ADDRESS_NEXT [x][y]); … … 823 826 if (retire_ok) 824 827 { 825 (*_stat_nb_inst_retire_ok [num_thread]) ++; 826 (*_stat_nb_inst_type [type] ) ++; 828 uint32_t instruction = entry->instruction; 829 830 (*_stat_nb_inst_retire_ok [num_thread] ) ++; 831 (*_stat_nb_inst_instruction [instruction]) ++; 832 (*_stat_nb_inst_type [type] ) ++; 827 833 } 828 834 else … … 1048 1054 // Read information 1049 1055 rob_state_t state = entry->state; 1050 Tdepth_t depth = entry->depth;1051 1052 Tdepth_t depth_min = (_param->_have_port_depth)?PORT_READ(in_DEPTH_MIN[front_end_id][context_id]):0;1053 Tdepth_t depth_max = (_param->_have_port_depth)?PORT_READ(in_DEPTH_MAX[front_end_id][context_id]):0;1054 Tcontrol_t depth_full = PORT_READ(in_DEPTH_FULL [front_end_id][context_id]);1056 // Tdepth_t depth = entry->depth; 1057 1058 // Tdepth_t depth_min = (_param->_have_port_depth)?PORT_READ(in_DEPTH_MIN[front_end_id][context_id]):0; 1059 // Tdepth_t depth_max = (_param->_have_port_depth)?PORT_READ(in_DEPTH_MAX[front_end_id][context_id]):0; 1060 // Tcontrol_t depth_full = PORT_READ(in_DEPTH_FULL [front_end_id][context_id]); 1055 1061 1056 1062 // is a valid instruction ? … … 1088 1094 1089 1095 log_printf(TRACE,Commit_unit,FUNCTION," * is_valid : %d ((depth == depth_min) and not flush)",is_valid); 1090 log_printf(TRACE,Commit_unit,FUNCTION," * depth : %d",depth );1091 log_printf(TRACE,Commit_unit,FUNCTION," * depth_min : %d",depth_min);1092 log_printf(TRACE,Commit_unit,FUNCTION," * depth_max : %d",depth_max);1093 log_printf(TRACE,Commit_unit,FUNCTION," * depth_full : %d",depth_full);1096 // log_printf(TRACE,Commit_unit,FUNCTION," * depth : %d",depth ); 1097 // log_printf(TRACE,Commit_unit,FUNCTION," * depth_min : %d",depth_min); 1098 // log_printf(TRACE,Commit_unit,FUNCTION," * depth_max : %d",depth_max); 1099 // log_printf(TRACE,Commit_unit,FUNCTION," * depth_full : %d",depth_full); 1094 1100 log_printf(TRACE,Commit_unit,FUNCTION," * speculative : %d",speculative); 1095 1101 log_printf(TRACE,Commit_unit,FUNCTION," * flush : %d",flush);
Note: See TracChangeset
for help on using the changeset viewer.