source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Pseudo_LRU/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: 713 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Select/Pseudo_LRU/include/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo                    {
15namespace behavioural {
16namespace generic {
17namespace select {
18namespace pseudo_lru {
19
20
21  string Statistics::print_body (uint32_t depth)
22  {
23    string        tab = string(depth,'\t');
24    ostringstream msg;
25
26    msg << _stat_port_access->print(depth+1);
27    msg << _stat_port_update->print(depth+1);
28   
29    return msg.str();
30  };
31
32}; // end namespace pseudo_lru
33}; // end namespace select
34}; // end namespace generic
35
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.