Last change
on this file since 68 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
622 bytes
|
Rev | Line | |
---|
[10] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[15] | 9 | #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Statistics.h" |
---|
[10] | 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace generic { |
---|
| 17 | namespace victim { |
---|
[15] | 18 | namespace victim_pseudo_lru { |
---|
[10] | 19 | |
---|
| 20 | void Statistics::add (uint32_t nb_access, |
---|
| 21 | uint32_t nb_update) |
---|
| 22 | { |
---|
| 23 | _stat_port_access->add(nb_access); |
---|
| 24 | _stat_port_update->add(nb_update); |
---|
| 25 | }; |
---|
| 26 | |
---|
[15] | 27 | }; // end namespace victim_pseudo_lru |
---|
[10] | 28 | }; // end namespace victim |
---|
| 29 | }; // end namespace generic |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
| 32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.