source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Group/src/Statistics.cpp @ 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: 1.2 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Group/include/Statistics.h"
10
11namespace morpheo                    {
12namespace behavioural                {
13namespace generic                    {
14namespace group                      {
15
16  Statistics::Statistics (string                                        name                       ,
17                          morpheo::behavioural::Parameters_Statistics * parameters_statistics      ,
18                          Parameters                                  * parameters
19                          ) :
20    morpheo::behavioural::Statistics(name                  ,
21                                     parameters_statistics ),
22    _parameters (parameters)
23  {};
24   
25//   Statistics::Statistics (Statistics & stat) :
26//                     _nb_port_read      (param._nb_port_read ),
27//                     _nb_port_write     (param._nb_port_write),
28//                     _nb_word           (param._nb_word      ),
29//                     _size_word         (param._size_word    )
30//     { };
31
32  Statistics::~Statistics () 
33  {
34    for (uint32_t i=0; i<_nb_statistics; i++)
35      delete _counters[i];
36  };
37
38}; // end namespace group
39}; // end namespace generic
40}; // end namespace behavioural         
41}; // end namespace morpheo             
42#endif
Note: See TracBrowser for help on using the repository browser.