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