source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Statistics.cpp @ 71

Last change on this file since 71 was 71, checked in by rosiere, 16 years ago

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File size: 926 bytes
Line 
1#ifdef STATISTICS
2
3/*
4 * $Id$
5 *
6 * [ Description ]
7 *
8 */
9
10#include "Behavioural/include/Statistics.h"
11
12namespace morpheo              {
13namespace behavioural          {
14
15#undef  FUNCTION
16#define FUNCTION "Statistics::Statistics"
17  Statistics::Statistics  (std::string                  name                 ,
18                           Parameters_Statistics * parameters_statistics):
19    _name                  (name                 ),
20    _parameters_statistics (parameters_statistics)
21  {
22    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
23    _nb_statistics  = 0;
24    _period_current = 0;
25    log_printf(FUNC,Behavioural,FUNCTION,"End");
26  };
27 
28#undef  FUNCTION
29#define FUNCTION "Statistics::~Statistics"
30  Statistics::~Statistics ()
31  {
32    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
33    log_printf(FUNC,Behavioural,FUNCTION,"End"); 
34  };
35 
36
37}; // end namespace behavioural         
38}; // end namespace morpheo             
39
40#endif
Note: See TracBrowser for help on using the repository browser.