source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Statistics_print_body.cpp @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 683 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Counter/include/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo                    {
15namespace behavioural {
16namespace generic {
17namespace counter {
18
19
20  string Statistics::print_body (uint32_t depth)
21  {
22    log_printf(FUNC,Counter,"print_body","Begin");
23
24    string        tab = string(depth,'\t');
25    ostringstream msg;
26
27    msg << tab << "";
28   
29    log_printf(FUNC,Counter,"print_body","End");
30
31    return msg.str();
32  };
33
34}; // end namespace counter
35}; // end namespace generic
36
37}; // end namespace behavioural
38}; // end namespace morpheo             
39#endif
Note: See TracBrowser for help on using the repository browser.