1 | #ifdef STATISTICS |
---|
2 | #ifndef morpheo_behavioural_generic_registerfile_Statistics_h |
---|
3 | #define morpheo_behavioural_generic_registerfile_Statistics_h |
---|
4 | |
---|
5 | /* |
---|
6 | * $Id$ |
---|
7 | * |
---|
8 | * [ Description ] |
---|
9 | * |
---|
10 | */ |
---|
11 | |
---|
12 | #include "Common/include/Debug.h" |
---|
13 | #include "Behavioural/include/Statistics.h" |
---|
14 | #include "Behavioural/include/Parameters_Statistics.h" |
---|
15 | //#include "Behavioural/Generic/Group/include/Statistics.h" |
---|
16 | #include "Behavioural/Generic/RegisterFile/include/Parameters.h" |
---|
17 | |
---|
18 | //using namespace morpheo::behavioural::generic::group; |
---|
19 | |
---|
20 | namespace morpheo { |
---|
21 | namespace behavioural { |
---|
22 | namespace generic { |
---|
23 | namespace registerfile { |
---|
24 | |
---|
25 | |
---|
26 | class Statistics : public morpheo::behavioural::Statistics |
---|
27 | { |
---|
28 | // -----[ fields ]---------------------------------------------------- |
---|
29 | private : const Parameters _parameters; |
---|
30 | |
---|
31 | // -----[ methods ]--------------------------------------------------- |
---|
32 | public : Statistics (string name , |
---|
33 | morpheo::behavioural::Parameters_Statistics parameters_statistics , |
---|
34 | Parameters parameters |
---|
35 | ); |
---|
36 | //public : Statistics (Statistics & stat); |
---|
37 | public : ~Statistics () ; |
---|
38 | |
---|
39 | public : string print_body (uint32_t depth); |
---|
40 | public : string print (uint32_t depth); |
---|
41 | public : void add (); |
---|
42 | |
---|
43 | public : friend ostream& operator<< (ostream& output_stream, |
---|
44 | const Statistics & x); |
---|
45 | |
---|
46 | }; |
---|
47 | |
---|
48 | }; // end namespace registerfile |
---|
49 | }; // end namespace generic |
---|
50 | |
---|
51 | }; // end namespace behavioural |
---|
52 | }; // end namespace morpheo |
---|
53 | |
---|
54 | #endif |
---|
55 | #endif |
---|