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

Last change on this file since 2 was 2, checked in by kane, 17 years ago

Import Morpheo

File size: 624 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/include/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo                    {
15namespace behavioural                {
16namespace generic                    {
17namespace registerfile               {
18
19  void Statistics::add (uint32_t nb_read,
20                        uint32_t nb_write)
21  {
22    _stat_port_read ->add(nb_read );
23    _stat_port_write->add(nb_write);
24  };
25
26}; // end namespace registerfile
27}; // end namespace generic
28}; // end namespace behavioural         
29}; // end namespace morpheo             
30#endif
Note: See TracBrowser for help on using the repository browser.