[5] | 1 | #ifdef STATISTICS |
---|
[48] | 2 | #ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Statistics_h |
---|
| 3 | #define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_Statistics_h |
---|
[5] | 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" |
---|
[5] | 13 | #include "Behavioural/include/Statistics.h" |
---|
| 14 | #include "Behavioural/include/Parameters_Statistics.h" |
---|
| 15 | //#include "Behavioural/Generic/Group/include/Statistics.h" |
---|
[48] | 16 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h" |
---|
[5] | 17 | |
---|
| 18 | //using namespace morpheo::behavioural::generic::group; |
---|
| 19 | |
---|
| 20 | namespace morpheo { |
---|
| 21 | namespace behavioural { |
---|
[48] | 22 | namespace core { |
---|
| 23 | namespace multi_front_end { |
---|
| 24 | namespace front_end { |
---|
| 25 | namespace prediction_unit { |
---|
| 26 | namespace direction { |
---|
| 27 | |
---|
[5] | 28 | namespace meta_predictor { |
---|
| 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, string component_stat); |
---|
| 47 | public : void add (); |
---|
| 48 | |
---|
| 49 | public : friend ostream& operator<< (ostream& output_stream, |
---|
| 50 | const Statistics & x); |
---|
| 51 | |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | }; // end namespace meta_predictor |
---|
| 55 | |
---|
[48] | 56 | }; // end namespace core |
---|
| 57 | }; // end namespace multi_front_end |
---|
| 58 | }; // end namespace front_end |
---|
| 59 | }; // end namespace prediction_unit |
---|
| 60 | }; // end namespace direction |
---|
| 61 | |
---|
| 62 | |
---|
[5] | 63 | }; // end namespace behavioural |
---|
| 64 | }; // end namespace morpheo |
---|
| 65 | |
---|
| 66 | #endif |
---|
| 67 | #endif |
---|