Last change
on this file since 50 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
734 bytes
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Statistics.h" |
---|
10 | |
---|
11 | #include <sstream> |
---|
12 | using namespace std; |
---|
13 | |
---|
14 | namespace morpheo { |
---|
15 | namespace behavioural { |
---|
16 | namespace generic { |
---|
17 | namespace victim { |
---|
18 | namespace victim_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 victim_pseudo_lru |
---|
33 | }; // end namespace victim |
---|
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.