Last change
on this file since 131 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.2 KB
|
Rev | Line | |
---|
[88] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id: OOO_Engine_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/include/OOO_Engine.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_ooo_engine { |
---|
| 15 | namespace ooo_engine { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "OOO_Engine::statistics_allocation" |
---|
| 20 | void OOO_Engine::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics) |
---|
| 21 | { |
---|
| 22 | log_begin(OOO_Engine,FUNCTION); |
---|
| 23 | |
---|
| 24 | _stat = new Stat (static_cast<std::string>(_name), |
---|
| 25 | "OOO_Engine", |
---|
| 26 | param_statistics); |
---|
| 27 | |
---|
| 28 | for (uint32_t i=0; i<_param->_nb_rename_unit; i++) |
---|
| 29 | _stat->add_stat(_component_rename_unit [i]->_stat); |
---|
| 30 | _stat->add_stat(_component_commit_unit ->_stat); |
---|
| 31 | _stat->add_stat(_component_issue_queue ->_stat); |
---|
| 32 | _stat->add_stat(_component_reexecute_unit ->_stat); |
---|
| 33 | _stat->add_stat(_component_special_register_unit->_stat); |
---|
| 34 | _stat->add_stat(_component_glue ->_stat); |
---|
| 35 | |
---|
| 36 | log_end(OOO_Engine,FUNCTION); |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | }; // end namespace ooo_engine |
---|
| 40 | }; // end namespace multi_ooo_engine |
---|
| 41 | }; // end namespace core |
---|
| 42 | |
---|
| 43 | }; // end namespace behavioural |
---|
| 44 | }; // end namespace morpheo |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.