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_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_deallocation.cpp

    r128 r134  
    239239
    240240#if defined(DEBUG) and defined(DEBUG_Commit_unit) and (DEBUG_Commit_unit == true)
    241     {   
    242       for (uint32_t i=0; i<_param->_nb_thread; ++i)
    243         if (_param->_have_thread [i])
    244           {
    245             instruction_log_file [i].close();
    246           }
    247       delete [] instruction_log_file;
    248     }
     241    if (log_file_generate)
     242      {   
     243        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     244          if (_param->_have_thread [i])
     245            {
     246              instruction_log_file [i].close();
     247            }
     248        delete [] instruction_log_file;
     249      }
    249250#endif
    250251
Note: See TracChangeset for help on using the changeset viewer.