source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/src/Read_unit_statistics_declaration.cpp @ 76

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

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

File size: 1.1 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/include/Read_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_read_unit {
17namespace read_unit {
18
19
20#undef  FUNCTION
21#define FUNCTION "Read_unit::statistics_declaration"
22  void Read_unit::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics)
23  {
24    log_printf(FUNC,Read_unit,FUNCTION,"Begin");
25
26    _stat = new Stat (static_cast<std::string>(_name),
27                      "Read_unit",
28                      param_statistics);
29
30    _stat->add_stat(_component_read_queue         ->_stat);
31    _stat->add_stat(_component_reservation_station->_stat);
32   
33    log_printf(FUNC,Read_unit,FUNCTION,"End");
34  };
35
36}; // end namespace read_unit
37}; // end namespace multi_read_unit
38}; // end namespace execute_loop
39}; // end namespace multi_execute_loop
40}; // end namespace core
41
42}; // end namespace behavioural
43}; // end namespace morpheo             
44#endif
Note: See TracBrowser for help on using the repository browser.