source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Select/Pseudo_LRU/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: 601 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/Select/Pseudo_LRU/include/Statistics.h"
10
11#include <sstream>
12using namespace std;
13
14namespace morpheo {
15namespace behavioural {
16namespace generic {
17namespace select {
18namespace pseudo_lru {
19
20  void Statistics::add (uint32_t nb_access,
21                        uint32_t nb_update)
22  {
23    _stat_port_access->add(nb_access);
24    _stat_port_update->add(nb_update);
25  };
26
27}; // end namespace pseudo_lru
28}; // end namespace select
29}; // end namespace generic
30}; // end namespace behavioural
31}; // end namespace morpheo             
32#endif
Note: See TracBrowser for help on using the repository browser.