Rev | Line | |
---|
[60] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Register_unit/include/Statistics.h" |
---|
| 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace core { |
---|
| 17 | namespace multi_execute_loop { |
---|
| 18 | namespace execute_loop { |
---|
| 19 | namespace register_unit { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | #undef FUNCTION |
---|
| 23 | #define FUNCTION "Register_unit::print_body" |
---|
| 24 | string Statistics::print_body (uint32_t depth) |
---|
| 25 | { |
---|
| 26 | log_printf(FUNC,Register_unit,FUNCTION,"Begin"); |
---|
| 27 | |
---|
| 28 | string tab = string(depth,'\t'); |
---|
| 29 | ostringstream msg; |
---|
| 30 | |
---|
| 31 | msg << tab << ""; |
---|
| 32 | |
---|
| 33 | log_printf(FUNC,Register_unit,FUNCTION,"End"); |
---|
| 34 | |
---|
| 35 | return msg.str(); |
---|
| 36 | }; |
---|
| 37 | |
---|
| 38 | }; // end namespace register_unit |
---|
| 39 | }; // end namespace execute_loop |
---|
| 40 | }; // end namespace multi_execute_loop |
---|
| 41 | }; // end namespace core |
---|
| 42 | |
---|
| 43 | }; // end namespace behavioural |
---|
| 44 | }; // end namespace morpheo |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.