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_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_allocation.cpp

    r119 r120  
    88#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Update_Prediction_Table.h"
    99#include "Behavioural/include/Allocation.h"
     10#include "Common/include/Filename.h"
    1011
    1112namespace morpheo                    {
     
    250251      if (_param->_have_thread [i])
    251252        {
    252           std::string filename = MORPHEO_LOG+"/"+toString(getpid())+"-Branchement_prediction-thread_"+toString(i)+".log";
     253          std::string filename = morpheo::filename(MORPHEO_LOG,
     254                                                   "Branchement_prediction-thread_"+toString(i),
     255                                                   "",
     256                                                   "log",
     257                                                   false,
     258                                                   log_with_pid,
     259                                                   false);
    253260         
    254261          branchement_log_file [i] .open(filename.c_str() ,std::ios::out | std::ios::trunc);
Note: See TracChangeset for help on using the changeset viewer.