1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_front_end { |
---|
15 | namespace front_end { |
---|
16 | namespace prediction_unit { |
---|
17 | namespace direction { |
---|
18 | |
---|
19 | namespace meta_predictor { |
---|
20 | |
---|
21 | |
---|
22 | string Meta_Predictor::statistics (uint32_t depth) |
---|
23 | { |
---|
24 | log_printf(FUNC,Meta_Predictor,"statistics","Begin"); |
---|
25 | |
---|
26 | string stat_component_Two_Level_Branch_Predictor_0 = (_param._have_meta_predictor==false)?"":component_Two_Level_Branch_Predictor_0->statistics(depth+1); |
---|
27 | string stat_component_Two_Level_Branch_Predictor_1 = (_param._have_meta_predictor==false)?"":component_Two_Level_Branch_Predictor_1->statistics(depth+1); |
---|
28 | string stat_component_Two_Level_Branch_Predictor_2 = component_Two_Level_Branch_Predictor_2->statistics(depth+1); |
---|
29 | string stat_component_Meta_Predictor_Glue = component_Meta_Predictor_Glue ->statistics(depth+1); |
---|
30 | |
---|
31 | string txt = _stat->print(depth, |
---|
32 | stat_component_Two_Level_Branch_Predictor_0 + |
---|
33 | stat_component_Two_Level_Branch_Predictor_1 + |
---|
34 | stat_component_Two_Level_Branch_Predictor_2 + |
---|
35 | stat_component_Meta_Predictor_Glue ); |
---|
36 | |
---|
37 | log_printf(FUNC,Meta_Predictor,"statistics","End"); |
---|
38 | |
---|
39 | return txt; |
---|
40 | }; |
---|
41 | |
---|
42 | }; // end namespace meta_predictor |
---|
43 | |
---|
44 | }; // end namespace core |
---|
45 | }; // end namespace multi_front_end |
---|
46 | }; // end namespace front_end |
---|
47 | }; // end namespace prediction_unit |
---|
48 | }; // end namespace direction |
---|
49 | |
---|
50 | |
---|
51 | }; // end namespace behavioural |
---|
52 | }; // end namespace morpheo |
---|
53 | #endif |
---|