source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/src/Rename_unit_statistics_allocation.cpp @ 146

Last change on this file since 146 was 88, checked in by rosiere, 16 years ago

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Rename_unit_statistics_allocation.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/include/Rename_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_ooo_engine {
15namespace ooo_engine {
16namespace rename_unit {
17
18
19#undef  FUNCTION
20#define FUNCTION "Rename_unit::statistics_allocation"
21  void Rename_unit::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
22  {
23    log_begin(Rename_unit,FUNCTION);
24
25    _stat = new Stat (static_cast<std::string>(_name),
26                      "Rename_unit",
27                      param_statistics);
28
29    _stat->add_stat(_component_rename_select            ->_stat);
30    _stat->add_stat(_component_register_translation_unit->_stat);
31    _stat->add_stat(_component_load_store_pointer_unit  ->_stat);
32    _stat->add_stat(_component_glue                     ->_stat);
33   
34    log_end(Rename_unit,FUNCTION);
35  };
36
37}; // end namespace rename_unit
38}; // end namespace ooo_engine
39}; // end namespace multi_ooo_engine
40}; // end namespace core
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.