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/Statistics.h" |
---|
10 | |
---|
11 | #include <sstream> |
---|
12 | using namespace std; |
---|
13 | |
---|
14 | namespace morpheo { |
---|
15 | namespace behavioural { |
---|
16 | namespace stage_1_ifetch { |
---|
17 | namespace predictor { |
---|
18 | namespace meta_predictor { |
---|
19 | namespace two_level_branch_predictor { |
---|
20 | namespace pattern_history_table { |
---|
21 | |
---|
22 | |
---|
23 | string Statistics::print_body (uint32_t depth) |
---|
24 | { |
---|
25 | log_printf(FUNC,Pattern_History_Table,"print_body","Begin"); |
---|
26 | |
---|
27 | string tab = string(depth,'\t'); |
---|
28 | ostringstream msg; |
---|
29 | |
---|
30 | msg << tab << ""; |
---|
31 | |
---|
32 | log_printf(FUNC,Pattern_History_Table,"print_body","End"); |
---|
33 | |
---|
34 | return msg.str(); |
---|
35 | }; |
---|
36 | |
---|
37 | }; // end namespace pattern_history_table |
---|
38 | }; // end namespace two_level_branch_predictor |
---|
39 | }; // end namespace meta_predictor |
---|
40 | }; // end namespace predictor |
---|
41 | }; // end namespace stage_1_ifetch |
---|
42 | |
---|
43 | }; // end namespace behavioural |
---|
44 | }; // end namespace morpheo |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.