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

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

Ajout SystemC read_queue et reservation_station
Ajout port au bloc registerfile_monolithic (à ajouter également au bloc registerfile et registerfile_multi_banked)
Modif param : passage de pointeur (attention, tous les composants n'ont pas été tous modifier)

File size: 2.1 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::Parameters * _param_port_read;
31  private  : morpheo::behavioural::generic::group::Parameters * _param_port_write;
32  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_read;
33  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_write;
34
35    // -----[ methods ]---------------------------------------------------
36  public   : Statistics (string                                      name                       ,
37                         morpheo::behavioural::Parameters_Statistics * parameters_statistics    ,
38                         Parameters                                  * parameters
39                         );
40//public   : Statistics (Statistics & stat);
41  public   : ~Statistics () ;
42   
43  public   : string   print_body (uint32_t depth);
44  public   : string   print      (uint32_t depth);
45  public   : void     add        (uint32_t nb_read,
46                                  uint32_t nb_write);
47
48  public   : friend ostream& operator<< (ostream& output_stream,
49                                         const Statistics & x);
50
51  };
52
53}; // end namespace registerfile_monolithic
54}; // end namespace registerfile
55}; // end namespace generic
56}; // end namespace behavioural
57}; // end namespace morpheo
58
59#endif
60#endif
Note: See TracBrowser for help on using the repository browser.