#ifdef STATISTICS /* * $Id: Meta_Predictor_statistics_allocation.cpp 128 2009-06-26 08:43:23Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_front_end { namespace front_end { namespace prediction_unit { namespace direction { namespace meta_predictor { #undef FUNCTION #define FUNCTION "Meta_Predictor::statistics_allocation" void Meta_Predictor::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics) { log_begin(Meta_Predictor,FUNCTION); _stat = new Stat (static_cast(_name), "Meta_Predictor", param_statistics); for (uint32_t i=0; i<_param->_nb_predictor; ++i) _stat->add_stat(_component_two_level_branch_predictor [i]->_stat); _stat->add_stat(_component_glue ->_stat); log_end(Meta_Predictor,FUNCTION); }; }; // end namespace meta_predictor }; // end namespace direction }; // end namespace prediction_unit }; // end namespace front_end }; // end namespace multi_front_end }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif