source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Pseudo_LRU/include/Statistics.h @ 2

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

Import Morpheo

File size: 1.8 KB
Line 
1#ifdef STATISTICS
2#ifndef morpheo_behavioural_generic_select_pseudo_lru_Statistics_h
3#define morpheo_behavioural_generic_select_pseudo_lru_Statistics_h
4
5/*
6 * $Id$
7 *
8 * [ Description ]
9 *
10 */
11
12#include "Behavioural/include/Statistics.h"
13#include "Behavioural/include/Parameters_Statistics.h"
14#include "Behavioural/Generic/Group/include/Statistics.h"
15#include "Behavioural/Generic/Select/Pseudo_LRU/include/Parameters.h"
16
17using namespace morpheo::behavioural::generic::group;
18
19namespace morpheo                    {
20namespace behavioural {
21namespace generic {
22namespace select {
23namespace pseudo_lru {
24
25
26  class Statistics : public morpheo::behavioural::Statistics
27  {
28    // -----[ fields ]----------------------------------------------------
29  private  : const Parameters                                   _parameters;
30  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_access;
31  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_update;
32
33    // -----[ methods ]---------------------------------------------------
34  public   : Statistics  (string                                      name                       ,
35                          morpheo::behavioural::Parameters_Statistics parameters_statistics      ,
36                          Parameters                                  parameters
37                          );
38//public   : Statistics  (Statistics & stat);
39  public   : ~Statistics () ;
40   
41  public   : string   print_body (uint32_t depth);
42  public   : string   print      (uint32_t depth);
43  public   : void     add        (uint32_t nb_access ,
44                                  uint32_t nb_update );
45   
46  public   : friend ostream& operator<< (ostream& output_stream,
47                                         const Statistics & x);
48
49  };
50
51}; // end namespace pseudo_lru
52}; // end namespace select
53}; // end namespace generic
54
55}; // end namespace behavioural
56}; // end namespace morpheo
57
58#endif
59#endif
Note: See TracBrowser for help on using the repository browser.