source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Statistics_print_body.cpp @ 15

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

Import Morpheo

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