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

Last change on this file since 68 was 53, checked in by rosiere, 17 years ago
  • Banc de registre multi banc
  • Banc de registre générique.
File size: 669 bytes
RevLine 
[2]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
[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.