source: trunk/IPs/systemC/processor/Morpheo/TopLevel/src/Morpheo_statistics_allocation.cpp @ 88

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

Almost complete design
with Test and test platform

  • Property svn:keywords set to Id
File size: 584 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Morpheo_statistics_allocation.cpp 88 2008-12-10 18:31:39Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "TopLevel/include/Morpheo.h"
10
11namespace morpheo {
12
13  using namespace behavioural;
14
15#undef  FUNCTION
16#define FUNCTION "Morpheo::statistics_allocation"
17  void Morpheo::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
18  {
19    log_begin(Morpheo,FUNCTION);
20
21    _stat = new Stat (static_cast<std::string>(_name),
22                      "Morpheo",
23                      param_statistics);
24
25    _stat->add_stat(_component_core->_stat);
26   
27    log_end(Morpheo,FUNCTION);
28  };
29
30}; // end namespace morpheo
31#endif
Note: See TracBrowser for help on using the repository browser.