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

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

Modif mineur : ajout d'info de débug

Release non stable

File size: 917 bytes
RevLine 
[2]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
[43]15#undef  FUNCTION
16#define FUNCTION "Statistics::Statistics"
[2]17  Statistics::Statistics  (string                name                 ,
18                           Parameters_Statistics parameters_statistics):
19    _name                  (name                 ),
20    _parameters_statistics (parameters_statistics)
21  {
[43]22    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
[2]23    _nb_statistics  = 0;
24    _period_current = 0;
[43]25    log_printf(FUNC,Behavioural,FUNCTION,"End");
[2]26  };
27 
[43]28#undef  FUNCTION
29#define FUNCTION "Statistics::~Statistics"
[2]30  Statistics::~Statistics ()
31  {
[43]32    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
33    log_printf(FUNC,Behavioural,FUNCTION,"End"); 
[2]34  };
35 
36
37}; // end namespace behavioural         
38}; // end namespace morpheo             
39
40#endif
Note: See TracBrowser for help on using the repository browser.