Ignore:
Timestamp:
Jan 31, 2008, 6:46:41 PM (16 years ago)
Author:
rosiere
Message:

Update all component (except front_end) to :

  • new statistics model
  • no namespace std
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/src/Register_unit_allocation.cpp

    r65 r75  
    1919#undef  FUNCTION
    2020#define FUNCTION "Register_unit::allocation"
    21   void Register_unit::allocation (void)
     21  void Register_unit::allocation (
     22#ifdef STATISTICS
     23                                  morpheo::behavioural::Parameters_Statistics * param_statistics
     24#else
     25                                  void
     26#endif
     27                                  )
    2228  {
    23     string rename, name_component;
    24 
    2529    log_printf(FUNC,Register_unit,FUNCTION,"Begin");
    2630
     
    249253    // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    250254
    251     string name;
     255    std::string name;
    252256     
    253257    component_gpr        = new morpheo::behavioural::generic::registerfile::RegisterFile::RegisterFile * [_param->_nb_ooo_engine];
     
    263267          (name.c_str()
    264268#ifdef STATISTICS
    265            ,_param_statistics
     269           ,param_statistics
    266270#endif
    267271           ,_param->_param_gpr [i]
     
    283287          (name.c_str()
    284288#ifdef STATISTICS
    285            ,_param_statistics
     289           ,param_statistics
    286290#endif
    287291           ,_param->_param_gpr_status [i]
     
    303307          (name.c_str()
    304308#ifdef STATISTICS
    305            ,_param_statistics
     309           ,param_statistics
    306310#endif
    307311           ,_param->_param_spr [i]
     
    322326          (name.c_str()
    323327#ifdef STATISTICS
    324            ,_param_statistics
     328           ,param_statistics
    325329#endif
    326330           ,_param->_param_spr_status [i]
     
    343347      (name.c_str()
    344348#ifdef STATISTICS
    345        ,_param_statistics
     349       ,param_statistics
    346350#endif
    347351       ,_param->_param_glue
     
    358362     
    359363    // ~~~~~[ Instanciation ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
    360 
     364    std::string name_component;
     365   
    361366    for (uint32_t i=0; i<_param->_nb_ooo_engine; i++)
    362367      {
    363368        name_component = _name+"_gpr_"+toString(i);
    364369       
    365         cout << "Instance : " << name_component << endl;
     370        std::cout << "Instance : " << name_component << std::endl;
    366371       
    367372#ifdef POSITION
     
    420425          name_component = _name+"_gpr_status_"+toString(i);
    421426         
    422           cout << "Instance : " << name_component << endl;
     427          std::cout << "Instance : " << name_component << std::endl;
    423428         
    424429#ifdef POSITION
     
    544549        name_component = _name+"_spr_"+toString(i);
    545550       
    546         cout << "Instance : " << name_component << endl;
     551        std::cout << "Instance : " << name_component << std::endl;
    547552       
    548553#ifdef POSITION
     
    601606          name_component = _name+"_spr_status_"+toString(i);
    602607         
    603           cout << "Instance : " << name_component << endl;
     608          std::cout << "Instance : " << name_component << std::endl;
    604609         
    605610#ifdef POSITION
     
    724729      name_component = _name+"_glue";
    725730     
    726       cout << "Instance : " << name_component << endl;
     731      std::cout << "Instance : " << name_component << std::endl;
    727732     
    728733#ifdef POSITION
     
    10341039#endif
    10351040
    1036 //     cout << *_component << endl;
     1041//     std::cout << *_component << std::endl;
    10371042
    10381043    log_printf(FUNC,Register_unit,FUNCTION,"End");
Note: See TracChangeset for help on using the changeset viewer.