[2] | 1 | #ifdef STATISTICS |
---|
[48] | 2 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Statistics_h |
---|
| 3 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_branch_history_table_Statistics_h |
---|
[2] | 4 | |
---|
| 5 | /* |
---|
| 6 | * $Id: Statistics.h 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 7 | * |
---|
| 8 | * [ Description ] |
---|
| 9 | * |
---|
| 10 | */ |
---|
| 11 | |
---|
[44] | 12 | #include "Common/include/Debug.h" |
---|
[2] | 13 | #include "Behavioural/include/Statistics.h" |
---|
| 14 | #include "Behavioural/include/Parameters_Statistics.h" |
---|
| 15 | #include "Behavioural/Generic/Shifter/include/Statistics.h" |
---|
[15] | 16 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h" |
---|
[2] | 17 | //#include "Behavioural/Generic/Group/include/Statistics.h" |
---|
[48] | 18 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Parameters.h" |
---|
[2] | 19 | |
---|
| 20 | //using namespace morpheo::behavioural::generic::group; |
---|
| 21 | |
---|
| 22 | namespace morpheo { |
---|
| 23 | namespace behavioural { |
---|
[48] | 24 | namespace core { |
---|
| 25 | namespace multi_front_end { |
---|
| 26 | namespace front_end { |
---|
| 27 | namespace prediction_unit { |
---|
| 28 | namespace direction { |
---|
| 29 | |
---|
[2] | 30 | namespace meta_predictor { |
---|
| 31 | namespace two_level_branch_predictor { |
---|
| 32 | namespace branch_history_table { |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | class Statistics : public morpheo::behavioural::Statistics |
---|
| 36 | { |
---|
| 37 | // -----[ fields ]---------------------------------------------------- |
---|
| 38 | private : const Parameters _parameters; |
---|
| 39 | |
---|
| 40 | // -----[ methods ]--------------------------------------------------- |
---|
| 41 | public : Statistics (string name , |
---|
| 42 | morpheo::behavioural::Parameters_Statistics parameters_statistics , |
---|
| 43 | Parameters parameters |
---|
| 44 | ); |
---|
| 45 | //public : Statistics (Statistics & stat); |
---|
| 46 | public : ~Statistics () ; |
---|
| 47 | |
---|
| 48 | public : string print_body (uint32_t depth); |
---|
| 49 | public : string print (uint32_t depth); |
---|
| 50 | public : string print (uint32_t depth , |
---|
| 51 | string component_stat ); |
---|
| 52 | public : void add (); |
---|
| 53 | |
---|
| 54 | public : friend ostream& operator<< (ostream& output_stream, |
---|
| 55 | const Statistics & x); |
---|
| 56 | |
---|
| 57 | }; |
---|
| 58 | |
---|
| 59 | }; // end namespace branch_history_table |
---|
| 60 | }; // end namespace two_level_branch_predictor |
---|
| 61 | }; // end namespace meta_predictor |
---|
| 62 | |
---|
[48] | 63 | }; // end namespace core |
---|
| 64 | }; // end namespace multi_front_end |
---|
| 65 | }; // end namespace front_end |
---|
| 66 | }; // end namespace prediction_unit |
---|
| 67 | }; // end namespace direction |
---|
| 68 | |
---|
| 69 | |
---|
[2] | 70 | }; // end namespace behavioural |
---|
| 71 | }; // end namespace morpheo |
---|
| 72 | |
---|
| 73 | #endif |
---|
| 74 | #endif |
---|