source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/src/Direction_statistics_allocation.cpp

Last change on this file was 128, checked in by rosiere, 15 years ago

1) Correct bug in link two signal
2) Fix error detected with valgrind
3) modif distexe script

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Direction_statistics_allocation.cpp 128 2009-06-26 08:43:23Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/include/Direction.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18
19
20#undef  FUNCTION
21#define FUNCTION "Direction::statistics_allocation"
22  void Direction::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
23  {
24    log_printf(FUNC,Direction,FUNCTION,"Begin");
25
26    _stat = new Stat (static_cast<std::string>(_name),
27                      "Direction",
28                      param_statistics);
29
30    if (_param->_have_component_meta_predictor)
31    _stat->add_stat(_component_meta_predictor->_stat);
32    _stat->add_stat(_component_glue          ->_stat);
33   
34    log_printf(FUNC,Direction,FUNCTION,"End");
35  };
36
37}; // end namespace direction
38}; // end namespace prediction_unit
39}; // end namespace front_end
40}; // end namespace multi_front_end
41}; // end namespace core
42
43}; // end namespace behavioural
44}; // end namespace morpheo             
45#endif
Note: See TracBrowser for help on using the repository browser.