source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h @ 44

Last change on this file since 44 was 44, checked in by rosiere, 17 years ago

Modification des classes d'encapsulation des interfaces.
Stable sur tous les composants actuels

File size: 2.0 KB
Line 
1#ifdef STATISTICS
2#ifndef morpheo_behavioural_generic_registerfile_registerfile_monolithic_Statistics_h
3#define morpheo_behavioural_generic_registerfile_registerfile_monolithic_Statistics_h
4
5/*
6 * $Id$
7 *
8 * [ Description ]
9 *
10 */
11
12#include "Common/include/Debug.h"
13#include "Behavioural/include/Statistics.h"
14#include "Behavioural/include/Parameters_Statistics.h"
15#include "Behavioural/Generic/Group/include/Statistics.h"
16#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h"
17
18using namespace morpheo::behavioural::generic::group;
19
20namespace morpheo                    {
21namespace behavioural                {
22namespace generic                    {
23namespace registerfile               {
24namespace registerfile_monolithic    {
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_read;
31  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_write;
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_read,
44                                  uint32_t nb_write);
45
46  public   : friend ostream& operator<< (ostream& output_stream,
47                                         const Statistics & x);
48
49  };
50
51}; // end namespace registerfile_monolithic
52}; // end namespace registerfile
53}; // end namespace generic
54}; // end namespace behavioural
55}; // end namespace morpheo
56
57#endif
58#endif
Note: See TracBrowser for help on using the repository browser.