[2] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Parameters.h" |
---|
| 9 | #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/Two_Level_Branch_Predictor_Glue/include/Types.h" |
---|
| 10 | #include <sstream> |
---|
| 11 | using namespace std; |
---|
| 12 | |
---|
| 13 | namespace morpheo { |
---|
| 14 | namespace behavioural { |
---|
| 15 | namespace stage_1_ifetch { |
---|
| 16 | namespace predictor { |
---|
| 17 | namespace meta_predictor { |
---|
| 18 | namespace two_level_branch_predictor { |
---|
| 19 | namespace two_level_branch_predictor_glue { |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | string Parameters::msg_error(void) |
---|
| 23 | { |
---|
| 24 | log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"msg_error","Begin"); |
---|
| 25 | |
---|
| 26 | string msg = ""; |
---|
| 27 | |
---|
| 28 | if (_have_pht and (_pht_size_address_share >= _pht_size_address)) |
---|
| 29 | { |
---|
| 30 | msg += " - You can't have higher pht_size_address_share >= pht_size_address\n"; |
---|
| 31 | msg += " * pht_size_address : " + toString(_pht_size_address ) + "\n"; |
---|
| 32 | msg += " * pht_size_address_share : " + toString(_pht_size_address_share) + "\n"; |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | return msg; |
---|
| 36 | |
---|
| 37 | log_printf(FUNC,Two_Level_Branch_Predictor_Glue,"msg_error","End"); |
---|
| 38 | }; |
---|
| 39 | |
---|
| 40 | }; // end namespace two_level_branch_predictor_glue |
---|
| 41 | }; // end namespace two_level_branch_predictor |
---|
| 42 | }; // end namespace meta_predictor |
---|
| 43 | }; // end namespace predictor |
---|
| 44 | }; // end namespace stage_1_ifetch |
---|
| 45 | }; // end namespace behavioural |
---|
| 46 | }; // end namespace morpheo |
---|