Last change
on this file since 43 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
1.7 KB
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace generic { |
---|
14 | namespace registerfile { |
---|
15 | namespace registerfile_monolithic { |
---|
16 | |
---|
17 | Statistics::Statistics (string name , |
---|
18 | morpheo::behavioural::Parameters_Statistics parameters_statistics , |
---|
19 | Parameters parameters |
---|
20 | ) : |
---|
21 | morpheo::behavioural::Statistics(name , |
---|
22 | parameters_statistics ), |
---|
23 | _parameters(parameters) |
---|
24 | { |
---|
25 | _stat_port_read = new morpheo::behavioural::generic::group::Statistics (name + "_port_read" , |
---|
26 | parameters_statistics , |
---|
27 | morpheo::behavioural::generic::group::Parameters(_parameters._nb_port_read)); |
---|
28 | _stat_port_write = new morpheo::behavioural::generic::group::Statistics (name + "_port_write" , |
---|
29 | parameters_statistics , |
---|
30 | morpheo::behavioural::generic::group::Parameters(_parameters._nb_port_write)); |
---|
31 | }; |
---|
32 | |
---|
33 | // Statistics::Statistics (Statistics & stat) : |
---|
34 | // _nb_port_read (param._nb_port_read ), |
---|
35 | // _nb_port_write (param._nb_port_write), |
---|
36 | // _nb_word (param._nb_word ), |
---|
37 | // _size_word (param._size_word ) |
---|
38 | // { }; |
---|
39 | |
---|
40 | Statistics::~Statistics () |
---|
41 | { |
---|
42 | delete _stat_port_read ; |
---|
43 | delete _stat_port_write; |
---|
44 | }; |
---|
45 | |
---|
46 | }; // end namespace registerfile_monolithic |
---|
47 | }; // end namespace registerfile |
---|
48 | }; // end namespace generic |
---|
49 | }; // end namespace behavioural |
---|
50 | }; // end namespace morpheo |
---|
51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.