#ifdef STATISTICS
/*
 * $Id: Rename_unit_statistics_allocation.cpp 88 2008-12-10 18:31:39Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/include/Rename_unit.h"

namespace morpheo {
namespace behavioural {
namespace core {
namespace multi_ooo_engine {
namespace ooo_engine {
namespace rename_unit {


#undef  FUNCTION
#define FUNCTION "Rename_unit::statistics_allocation"
  void Rename_unit::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
  {
    log_begin(Rename_unit,FUNCTION);

    _stat = new Stat (static_cast<std::string>(_name),
		      "Rename_unit",
		      param_statistics);

    _stat->add_stat(_component_rename_select            ->_stat);
    _stat->add_stat(_component_register_translation_unit->_stat);
    _stat->add_stat(_component_load_store_pointer_unit  ->_stat);
    _stat->add_stat(_component_glue                     ->_stat);
    
    log_end(Rename_unit,FUNCTION);
  };

}; // end namespace rename_unit
}; // end namespace ooo_engine
}; // end namespace multi_ooo_engine
}; // end namespace core

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
