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