source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/src/Statistics_print_body.cpp @ 3

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

Import Morpheo

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