1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id: Register_translation_unit_statistics_declaration.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/include/Register_translation_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 | namespace register_translation_unit { |
---|
18 | |
---|
19 | |
---|
20 | #undef FUNCTION |
---|
21 | #define FUNCTION "Register_translation_unit::statistics_declaration" |
---|
22 | void Register_translation_unit::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) |
---|
23 | { |
---|
24 | log_printf(FUNC,Register_translation_unit,FUNCTION,"Begin"); |
---|
25 | |
---|
26 | _stat = new Stat (static_cast<std::string>(_name), |
---|
27 | "Register_translation_unit", |
---|
28 | param_statistics); |
---|
29 | |
---|
30 | _stat->add_stat(_component_dependency_checking_unit ->_stat); |
---|
31 | _stat->add_stat(_component_free_list_unit ->_stat); |
---|
32 | _stat->add_stat(_component_register_address_translation_unit->_stat); |
---|
33 | _stat->add_stat(_component_stat_list_unit ->_stat); |
---|
34 | _stat->add_stat(_component_register_translation_unit_glue ->_stat); |
---|
35 | |
---|
36 | log_printf(FUNC,Register_translation_unit,FUNCTION,"End"); |
---|
37 | }; |
---|
38 | |
---|
39 | }; // end namespace register_translation_unit |
---|
40 | }; // end namespace rename_unit |
---|
41 | }; // end namespace ooo_engine |
---|
42 | }; // end namespace multi_ooo_engine |
---|
43 | }; // end namespace core |
---|
44 | |
---|
45 | }; // end namespace behavioural |
---|
46 | }; // end namespace morpheo |
---|
47 | #endif |
---|