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