Last change
on this file since 49 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
1.4 KB
|
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 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace generic { |
---|
| 14 | namespace victim { |
---|
[15] | 15 | namespace victim_pseudo_lru { |
---|
[10] | 16 | |
---|
| 17 | |
---|
| 18 | Statistics::Statistics (string name , |
---|
| 19 | morpheo::behavioural::Parameters_Statistics parameters_statistics , |
---|
| 20 | Parameters parameters |
---|
| 21 | ) : |
---|
| 22 | morpheo::behavioural::Statistics(name , |
---|
| 23 | parameters_statistics ), |
---|
| 24 | _parameters(parameters) |
---|
| 25 | { |
---|
| 26 | _stat_port_access = new morpheo::behavioural::generic::group::Statistics (name + "_port_access" , |
---|
| 27 | parameters_statistics , |
---|
| 28 | morpheo::behavioural::generic::group::Parameters(_parameters._nb_access)); |
---|
| 29 | _stat_port_update = new morpheo::behavioural::generic::group::Statistics (name + "_port_update" , |
---|
| 30 | parameters_statistics , |
---|
| 31 | morpheo::behavioural::generic::group::Parameters(_parameters._nb_update)); |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | Statistics::~Statistics () |
---|
| 35 | { |
---|
| 36 | delete _stat_port_access; |
---|
| 37 | delete _stat_port_update; |
---|
| 38 | }; |
---|
| 39 | |
---|
[15] | 40 | }; // end namespace victim_pseudo_lru |
---|
[10] | 41 | }; // end namespace victim |
---|
| 42 | }; // end namespace generic |
---|
| 43 | |
---|
| 44 | }; // end namespace behavioural |
---|
| 45 | }; // end namespace morpheo |
---|
| 46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.