Last change
on this file since 95 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:
996 bytes
|
Rev | Line | |
---|
[5] | 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/include/Statistics.h" |
---|
[5] | 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 | |
---|
[5] | 22 | namespace meta_predictor { |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | string Statistics::print_body (uint32_t depth) |
---|
| 26 | { |
---|
| 27 | log_printf(FUNC,Meta_Predictor,"print_body","Begin"); |
---|
| 28 | |
---|
| 29 | string tab = string(depth,'\t'); |
---|
| 30 | ostringstream msg; |
---|
| 31 | |
---|
| 32 | msg << tab << ""; |
---|
| 33 | |
---|
| 34 | log_printf(FUNC,Meta_Predictor,"print_body","End"); |
---|
| 35 | |
---|
| 36 | return msg.str(); |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | }; // end namespace meta_predictor |
---|
| 40 | |
---|
[48] | 41 | }; // end namespace core |
---|
| 42 | }; // end namespace multi_front_end |
---|
| 43 | }; // end namespace front_end |
---|
| 44 | }; // end namespace prediction_unit |
---|
| 45 | }; // end namespace direction |
---|
| 46 | |
---|
| 47 | |
---|
[5] | 48 | }; // end namespace behavioural |
---|
| 49 | }; // end namespace morpheo |
---|
| 50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.