Last change
on this file since 141 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
|
Rev | Line | |
---|
[88] | 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 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_ooo_engine { |
---|
| 15 | namespace ooo_engine { |
---|
| 16 | namespace 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.