Changeset 134 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_allocation.cpp
- Timestamp:
- Jul 15, 2009, 10:41:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_allocation.cpp
r124 r134 248 248 249 249 #if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true) 250 directory_init (); 251 252 branchement_log_file = new std::ofstream [_param->_nb_thread]; 253 for (uint32_t i=0; i<_param->_nb_thread; ++i) 254 if (_param->_have_thread [i]) 255 { 256 std::string filename = morpheo::filename(MORPHEO_LOG, 257 "Branchement_prediction-thread_"+toString(i), 258 "", 259 "log", 260 _simulation_file_with_date, 261 _simulation_file_with_pid, 262 true); 263 264 branchement_log_file [i] .open(filename.c_str() ,std::ios::out | std::ios::trunc); 265 } 250 if (log_file_generate) 251 { 252 directory_init (); 253 254 branchement_log_file = new std::ofstream [_param->_nb_thread]; 255 for (uint32_t i=0; i<_param->_nb_thread; ++i) 256 if (_param->_have_thread [i]) 257 { 258 std::string filename = morpheo::filename(MORPHEO_LOG, 259 "Branchement_prediction-thread_"+toString(i), 260 "", 261 "log", 262 _simulation_file_with_date, 263 _simulation_file_with_pid, 264 true); 265 266 branchement_log_file [i] .open(filename.c_str() ,std::ios::out | std::ios::trunc); 267 } 268 } 266 269 #endif 267 270
Note: See TracChangeset
for help on using the changeset viewer.