source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Statistics.h @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1#ifdef STATISTICS
2#ifndef morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Statistics_h
3#define morpheo_behavioural_core_multi_front_end_front_end_prediction_unit_direction_meta_predictor_two_level_branch_predictor_Statistics_h
4
5/*
6 * $Id: Statistics.h 81 2008-04-15 18:40:01Z rosiere $
7 *
8 * [ Description ]
9 *
10 */
11
12#include "Common/include/Debug.h"
13// Internal structure
14#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Branch_History_Table/include/Statistics.h"
15#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h"
16#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/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/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_Predictor/include/Parameters.h"
21
22//using namespace morpheo::behavioural::generic::group;
23
24namespace morpheo                    {
25namespace behavioural {
26namespace core {
27namespace multi_front_end {
28namespace front_end {
29namespace prediction_unit {
30namespace direction {
31
32namespace meta_predictor {
33namespace two_level_branch_predictor {
34
35
36  class Statistics : public morpheo::behavioural::Statistics
37  {
38    // -----[ fields ]----------------------------------------------------
39  private  : const Parameters                                   _parameters;
40
41    // -----[ methods ]---------------------------------------------------
42  public   : Statistics  (string                                      name                       ,
43                          morpheo::behavioural::Parameters_Statistics parameters_statistics      ,
44                          Parameters                                  parameters
45                          );
46//public   : Statistics  (Statistics & stat);
47  public   : ~Statistics () ;
48   
49  public   : string   print_body (uint32_t depth);
50  public   : string   print      (uint32_t depth);
51  public   : string   print      (uint32_t depth,
52                                  string   component_stat
53                                  );
54  public   : void     add        ();
55
56  public   : friend ostream& operator<< (ostream& output_stream,
57                                         const Statistics & x);
58
59  };
60
61}; // end namespace two_level_branch_predictor
62}; // end namespace meta_predictor
63
64}; // end namespace core
65}; // end namespace multi_front_end
66}; // end namespace front_end
67}; // end namespace prediction_unit
68}; // end namespace direction
69
70
71}; // end namespace behavioural
72}; // end namespace morpheo
73
74#endif
75#endif
Note: See TracBrowser for help on using the repository browser.