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