Rev | Line | |
---|
[2] | 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/Branch_History_Table/include/Branch_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 branch_history_table { |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | string Branch_History_Table::statistics (uint32_t depth) |
---|
| 21 | { |
---|
| 22 | return _stat->print(depth, |
---|
| 23 | component_Shifter ->statistics(depth+1) + |
---|
| 24 | component_RegisterFile->statistics(depth+1) |
---|
| 25 | ); |
---|
| 26 | }; |
---|
| 27 | |
---|
| 28 | }; // end namespace branch_history_table |
---|
| 29 | }; // end namespace two_level_branch_predictor |
---|
| 30 | }; // end namespace meta_predictor |
---|
| 31 | }; // end namespace predictor |
---|
| 32 | }; // end namespace stage_1_ifetch |
---|
| 33 | |
---|
| 34 | }; // end namespace behavioural |
---|
| 35 | }; // end namespace morpheo |
---|
| 36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.