Last change
on this file since 59 was
15,
checked in by rosiere, 17 years ago
|
Interface normalisé
Début du banc de registres multi niveaux
|
File size:
731 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
[15] | 9 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h" |
---|
[2] | 10 | |
---|
| 11 | #include <sstream> |
---|
| 12 | using namespace std; |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | namespace generic { |
---|
| 17 | namespace registerfile { |
---|
[15] | 18 | namespace registerfile_monolithic { |
---|
[2] | 19 | |
---|
| 20 | void Statistics::add (uint32_t nb_read, |
---|
| 21 | uint32_t nb_write) |
---|
| 22 | { |
---|
| 23 | _stat_port_read ->add(nb_read ); |
---|
| 24 | _stat_port_write->add(nb_write); |
---|
| 25 | }; |
---|
| 26 | |
---|
[15] | 27 | }; // end namespace registerfile_monolithic |
---|
[2] | 28 | }; // end namespace registerfile |
---|
| 29 | }; // end namespace generic |
---|
| 30 | }; // end namespace behavioural |
---|
| 31 | }; // end namespace morpheo |
---|
| 32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.