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.1 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/Branch_History_Table/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 branch_history_table { |
---|
| 25 | |
---|
| 26 | string Statistics::print_body (uint32_t depth) |
---|
| 27 | { |
---|
| 28 | string tab = string(depth,'\t'); |
---|
| 29 | ostringstream msg; |
---|
| 30 | |
---|
| 31 | msg << tab << ""; |
---|
| 32 | |
---|
| 33 | return msg.str(); |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | }; // end namespace branch_history_table |
---|
| 37 | }; // end namespace two_level_branch_predictor |
---|
| 38 | }; // end namespace meta_predictor |
---|
| 39 | |
---|
[48] | 40 | }; // end namespace core |
---|
| 41 | }; // end namespace multi_front_end |
---|
| 42 | }; // end namespace front_end |
---|
| 43 | }; // end namespace prediction_unit |
---|
| 44 | }; // end namespace direction |
---|
| 45 | |
---|
| 46 | |
---|
[2] | 47 | }; // end namespace behavioural |
---|
| 48 | }; // end namespace morpheo |
---|
| 49 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.