Last change
on this file since 64 was
53,
checked in by rosiere, 17 years ago
|
- Banc de registre multi banc
- Banc de registre générique.
|
File size:
669 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/@DIRECTORY/include/Statistics.h" |
---|
| 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | @NAMESPACE_BEGIN |
---|
| 17 | |
---|
[53] | 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "@COMPONENT::print_body" |
---|
[2] | 20 | string Statistics::print_body (uint32_t depth) |
---|
| 21 | { |
---|
[53] | 22 | log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); |
---|
[2] | 23 | |
---|
| 24 | string tab = string(depth,'\t'); |
---|
| 25 | ostringstream msg; |
---|
| 26 | |
---|
| 27 | msg << tab << ""; |
---|
| 28 | |
---|
[53] | 29 | log_printf(FUNC,@COMPONENT,FUNCTION,"End"); |
---|
[2] | 30 | |
---|
| 31 | return msg.str(); |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | @NAMESPACE_END |
---|
| 35 | }; // end namespace behavioural |
---|
| 36 | }; // end namespace morpheo |
---|
| 37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.