Changeset 134 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_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_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_allocation.cpp
r124 r134 179 179 180 180 #if defined(DEBUG) and defined(DEBUG_Load_store_unit) and (DEBUG_Load_store_unit == true) 181 directory_init (); 182 183 memory_log_file = new std::ofstream [_param->_nb_thread]; 184 for (uint32_t i=0; i<_param->_nb_thread; ++i) 185 if (_param->_num_thread_valid [i]) 186 { 187 188 std::string filename = morpheo::filename(MORPHEO_LOG, 189 "Memory_access-thread_"+toString(i), 190 "", 191 "log", 192 _simulation_file_with_date, 193 _simulation_file_with_pid , 194 true); 195 196 memory_log_file [i].open(filename.c_str() ,std::ios::out | std::ios::trunc); 197 } 181 if (log_file_generate) 182 { 183 directory_init (); 184 185 memory_log_file = new std::ofstream [_param->_nb_thread]; 186 for (uint32_t i=0; i<_param->_nb_thread; ++i) 187 if (_param->_num_thread_valid [i]) 188 { 189 190 std::string filename = morpheo::filename(MORPHEO_LOG, 191 "Memory_access-thread_"+toString(i), 192 "", 193 "log", 194 _simulation_file_with_date, 195 _simulation_file_with_pid , 196 true); 197 198 memory_log_file [i].open(filename.c_str() ,std::ios::out | std::ios::trunc); 199 } 200 } 198 201 #endif 199 202
Note: See TracChangeset
for help on using the changeset viewer.