Last change
on this file since 75 was
48,
checked in by rosiere, 17 years ago
|
Modification des Makefile : pas de creation inutile de shell
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[48] | 9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Statistics.h" |
---|
[2] | 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
[48] | 16 | namespace core { |
---|
| 17 | namespace multi_front_end { |
---|
| 18 | namespace front_end { |
---|
| 19 | namespace prediction_unit { |
---|
| 20 | namespace direction { |
---|
| 21 | |
---|
[2] | 22 | namespace meta_predictor { |
---|
| 23 | namespace two_level_branch_predictor { |
---|
| 24 | namespace two_level_branch_predictor_glue { |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | string Statistics::print_body (uint32_t depth) |
---|
| 28 | { |
---|
| 29 | log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"print_body","Begin"); |
---|
| 30 | |
---|
| 31 | string tab = string(depth,'\t'); |
---|
| 32 | ostringstream msg; |
---|
| 33 | |
---|
| 34 | msg << tab << ""; |
---|
| 35 | |
---|
| 36 | log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"print_body","End"); |
---|
| 37 | |
---|
| 38 | return msg.str(); |
---|
| 39 | }; |
---|
| 40 | |
---|
| 41 | }; // end namespace two_level_branch_predictor_glue |
---|
| 42 | }; // end namespace two_level_branch_predictor |
---|
| 43 | }; // end namespace meta_predictor |
---|
| 44 | |
---|
[48] | 45 | }; // end namespace core |
---|
| 46 | }; // end namespace multi_front_end |
---|
| 47 | }; // end namespace front_end |
---|
| 48 | }; // end namespace prediction_unit |
---|
| 49 | }; // end namespace direction |
---|
| 50 | |
---|
| 51 | |
---|
[2] | 52 | }; // end namespace behavioural |
---|
| 53 | }; // end namespace morpheo |
---|
| 54 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.