Ignore:
Timestamp:
May 26, 2009, 9:01:47 PM (15 years ago)
Author:
rosiere
Message:

1) Context_state : Add statistics
2) Add configuration with multi front_end
3) Add optionnal pid at log filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_allocation.cpp

    r118 r120  
    99#include "Behavioural/include/Allocation.h"
    1010#include "Common/include/Max.h"
     11#include "Common/include/Filename.h"
    1112
    1213namespace morpheo                    {
     
    342343      if (_param->_have_thread [i])
    343344        {
    344           std::string filename = MORPHEO_LOG+"/"+toString(getpid())+"-Instruction_flow-thread_"+toString(i)+".log";
     345          std::string filename = morpheo::filename(MORPHEO_LOG,
     346                                                   "Instruction_flow-thread_"+toString(i),
     347                                                   "",
     348                                                   "log",
     349                                                   false,
     350                                                   log_with_pid,
     351                                                   false);
    345352         
    346353          instruction_log_file [i] .open(filename.c_str() ,std::ios::out | std::ios::trunc);
Note: See TracChangeset for help on using the changeset viewer.