Last change
on this file since 100 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[2] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id: Statistics_print_body.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 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.