#ifdef STATISTICS /* * $Id: Decod_statistics_allocation.cpp 141 2010-08-02 18:56:05Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/include/Decod.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_front_end { namespace front_end { namespace decod_unit { namespace decod { #undef FUNCTION #define FUNCTION "Decod::statistics_allocation" void Decod::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics) { log_printf(FUNC,Decod,FUNCTION,"Begin"); _stat = new Stat (static_cast(_name), "Decod", param_statistics); _stat_nb_inst_decod = _stat->create_counters("nb_inst_decod",_param->_nb_inst_decod,"", _("Cycle number with %d decoded instruction(s)."), _("Percent of cycle number with %d decoded instruction(s)."), _("Average of decoded instructions.") ); log_printf(FUNC,Decod,FUNCTION,"End"); }; }; // end namespace decod }; // end namespace decod_unit }; // end namespace front_end }; // end namespace multi_front_end }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif