Ignore:
Timestamp:
Jul 15, 2009, 10:41:01 AM (15 years ago)
Author:
rosiere
Message:

1) valgrind fix
2) debug file on/off

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_deallocation.cpp

    r128 r134  
    122122
    123123#if defined(DEBUG) and defined(DEBUG_Load_store_unit) and (DEBUG_Load_store_unit == true)
    124     {
    125       for (uint32_t i=0; i<_param->_nb_thread; ++i)
    126         if (_param->_num_thread_valid [i])
    127           {
    128             memory_log_file [i].close();
    129           }
    130       delete [] memory_log_file;
    131     }
     124    if (log_file_generate)
     125      {
     126        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     127          if (_param->_num_thread_valid [i])
     128            {
     129              memory_log_file [i].close();
     130            }
     131        delete [] memory_log_file;
     132      }
    132133#endif
    133134
Note: See TracChangeset for help on using the changeset viewer.