source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/Statistics_add.cpp @ 15

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

Interface normalisé
Début du banc de registres multi niveaux

File size: 731 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo                    {
15namespace behavioural                {
16namespace generic                    {
17namespace registerfile               {
18namespace registerfile_monolithic    {
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
27}; // end namespace registerfile_monolithic
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.