Last change
on this file since 43 was
5,
checked in by rosiere, 18 years ago
|
Ajout du composant Meta_Predictor
|
File size:
801 bytes
|
Rev | Line | |
---|
[5] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/include/Statistics.h" |
---|
| 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace stage_1_ifetch { |
---|
| 17 | namespace predictor { |
---|
| 18 | namespace meta_predictor { |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | string Statistics::print_body (uint32_t depth) |
---|
| 22 | { |
---|
| 23 | log_printf(FUNC,Meta_Predictor,"print_body","Begin"); |
---|
| 24 | |
---|
| 25 | string tab = string(depth,'\t'); |
---|
| 26 | ostringstream msg; |
---|
| 27 | |
---|
| 28 | msg << tab << ""; |
---|
| 29 | |
---|
| 30 | log_printf(FUNC,Meta_Predictor,"print_body","End"); |
---|
| 31 | |
---|
| 32 | return msg.str(); |
---|
| 33 | }; |
---|
| 34 | |
---|
| 35 | }; // end namespace meta_predictor |
---|
| 36 | }; // end namespace predictor |
---|
| 37 | }; // end namespace stage_1_ifetch |
---|
| 38 | |
---|
| 39 | }; // end namespace behavioural |
---|
| 40 | }; // end namespace morpheo |
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.