Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Pattern_History_Table/include/Pattern_History_Table.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace stage_1_ifetch { |
---|
14 | namespace predictor { |
---|
15 | namespace meta_predictor { |
---|
16 | namespace two_level_branch_predictor { |
---|
17 | namespace pattern_history_table { |
---|
18 | |
---|
19 | string Pattern_History_Table::statistics (uint32_t depth) |
---|
20 | { |
---|
21 | log_printf(FUNC,Pattern_History_Table,"statistics","Begin"); |
---|
22 | |
---|
23 | string stat_print = _stat->print(depth, |
---|
24 | component_Counter ->statistics(depth+1) + |
---|
25 | component_RegisterFile->statistics(depth+1) |
---|
26 | ); |
---|
27 | |
---|
28 | log_printf(FUNC,Pattern_History_Table,"statistics","End"); |
---|
29 | |
---|
30 | return stat_print; |
---|
31 | |
---|
32 | }; |
---|
33 | |
---|
34 | }; // end namespace pattern_history_table |
---|
35 | }; // end namespace two_level_branch_predictor |
---|
36 | }; // end namespace meta_predictor |
---|
37 | }; // end namespace predictor |
---|
38 | }; // end namespace stage_1_ifetch |
---|
39 | }; // end namespace behavioural |
---|
40 | }; // end namespace morpheo |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.