#ifdef STATISTICS /* * $Id$ * * [ Description ] * */ #include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/Two_Level_Branch_Predictor/include/Two_Level_Branch_Predictor.h" namespace morpheo { namespace behavioural { namespace stage_1_ifetch { namespace predictor { namespace meta_predictor { namespace two_level_branch_predictor { string Two_Level_Branch_Predictor::statistics (uint32_t depth) { log_printf(FUNC,Two_Level_Branch_Predictor,"statistics","Begin"); string txt = _stat->print(depth, component_Branch_History_Table ->statistics(depth+1) + component_Pattern_History_Table ->statistics(depth+1) + component_Two_Level_Branch_Predictor_Glue->statistics(depth+1) ); log_printf(FUNC,Two_Level_Branch_Predictor,"statistics","End"); return txt; }; }; // end namespace two_level_branch_predictor }; // end namespace meta_predictor }; // end namespace predictor }; // end namespace stage_1_ifetch }; // end namespace behavioural }; // end namespace morpheo #endif