source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Statistics.h @ 2

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 2.2 KB
Line 
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/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
22namespace morpheo                    {
23namespace behavioural {
24namespace stage_1_ifetch {
25namespace predictor {
26namespace meta_predictor {
27namespace two_level_branch_predictor {
28namespace 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
Note: See TracBrowser for help on using the repository browser.