Last change
on this file since 129 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 | |
---|
[78] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id: Prediction_unit_statistics_allocation.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/include/Prediction_unit.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_front_end { |
---|
| 15 | namespace front_end { |
---|
| 16 | namespace prediction_unit { |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | #undef FUNCTION |
---|
| 20 | #define FUNCTION "Prediction_unit::statistics_allocation" |
---|
| 21 | void Prediction_unit::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics) |
---|
| 22 | { |
---|
| 23 | log_printf(FUNC,Prediction_unit,FUNCTION,"Begin"); |
---|
| 24 | |
---|
| 25 | _stat = new Stat (static_cast<std::string>(_name), |
---|
| 26 | "Prediction_unit", |
---|
| 27 | param_statistics); |
---|
[88] | 28 | |
---|
| 29 | _stat->add_stat(_component_btb ->_stat); |
---|
| 30 | _stat->add_stat(_component_dir ->_stat); |
---|
| 31 | _stat->add_stat(_component_ras ->_stat); |
---|
| 32 | _stat->add_stat(_component_upt ->_stat); |
---|
| 33 | _stat->add_stat(_component_glue->_stat); |
---|
| 34 | |
---|
[78] | 35 | log_printf(FUNC,Prediction_unit,FUNCTION,"End"); |
---|
| 36 | }; |
---|
| 37 | |
---|
| 38 | }; // end namespace prediction_unit |
---|
| 39 | }; // end namespace front_end |
---|
| 40 | }; // end namespace multi_front_end |
---|
| 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.