Last change
on this file since 141 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id: Read_unit_statistics_declaration.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
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 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_execute_loop { |
---|
15 | namespace execute_loop { |
---|
16 | namespace multi_read_unit { |
---|
17 | namespace 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.