#ifdef STATISTICS /* * $Id: Register_translation_unit_Glue_statistics_allocation.cpp 110 2009-02-19 16:31:47Z rosiere $ * * [ Description ] * */ #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Register_translation_unit_Glue/include/Register_translation_unit_Glue.h" namespace morpheo { namespace behavioural { namespace core { namespace multi_ooo_engine { namespace ooo_engine { namespace rename_unit { namespace register_translation_unit { namespace register_translation_unit_glue { #undef FUNCTION #define FUNCTION "Register_translation_unit_Glue::statistics_allocation" void Register_translation_unit_Glue::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics) { log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin"); _stat = new Stat (static_cast(_name), "Register_translation_unit_Glue", param_statistics); _stat_nb_inst_issue_rename_select = _stat->create_variable("nb_inst_issue_rename_select"); _stat_nb_inst_issue_rename_select_req = _stat->create_variable("nb_inst_issue_rename_select_req"); _stat_nb_inst_issue_stall_by_commit = _stat->create_variable("nb_inst_issue_stall_by_commit"); _stat_nb_inst_issue_stall_by_rat_rename = _stat->create_variable("nb_inst_issue_stall_by_rat_rename"); _stat_nb_inst_issue_stall_by_rat_insert = _stat->create_variable("nb_inst_issue_stall_by_rat_insert"); _stat_nb_inst_issue_stall_by_free_list = _stat->create_variable("nb_inst_issue_stall_by_free_list"); _stat_nb_inst_issue_stall_by_stat_list = _stat->create_variable("nb_inst_issue_stall_by_stat_list"); // std::string nb_inst_issue_stall = "+ + + nb_inst_issue_stall_by_commit nb_inst_issue_stall_by_rat_rename + nb_inst_issue_stall_by_rat_insert nb_inst_issue_stall_by_free_list + nb_inst_issue_stall_by_stat_list nb_inst_issue_stall_by_rename_select"; std::string nb_inst_issue_stall = "+ + + nb_inst_issue_stall_by_commit nb_inst_issue_stall_by_rat_rename + nb_inst_issue_stall_by_rat_insert nb_inst_issue_stall_by_free_list nb_inst_issue_stall_by_stat_list"; _stat->create_expr_average_by_cycle("average_req_interface_insert", "nb_inst_issue_rename_select_req", "", _("Average instruction by cycle on issue interface (request)")); _stat->create_expr_average_by_cycle("average_use_interface_insert", "nb_inst_issue_rename_select" , "", _("Average instruction by cycle on issue interface")); // _stat->create_expr_percent ("percent_issue_stall_by_rename_select", "nb_inst_issue_stall_by_rename_select", nb_inst_issue_stall, _("Percent of instruction stalled by Rename_Select")); _stat->create_expr_percent ("percent_issue_stall_by_commit" , "nb_inst_issue_stall_by_commit", nb_inst_issue_stall, _("Percent of instruction stalled by Commit_unit or Issue_queue or RegisterFile")); _stat->create_expr_percent ("percent_issue_stall_by_rat_rename" , "nb_inst_issue_stall_by_rat_rename", nb_inst_issue_stall, _("Percent of instruction stalled by Rat_Rename")); _stat->create_expr_percent ("percent_issue_stall_by_rat_insert" , "nb_inst_issue_stall_by_rat_insert", nb_inst_issue_stall, _("Percent of instruction stalled by Rat_Insert")); _stat->create_expr_percent ("percent_issue_stall_by_free_list" , "nb_inst_issue_stall_by_free_list", nb_inst_issue_stall, _("Percent of instruction stalled by Free_List")); _stat->create_expr_percent ("percent_issue_stall_by_stat_list" , "nb_inst_issue_stall_by_stat_list", nb_inst_issue_stall, _("Percent of instruction stalled by Stat_List")); log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End"); }; }; // end namespace register_translation_unit_glue }; // end namespace register_translation_unit }; // end namespace rename_unit }; // end namespace ooo_engine }; // end namespace multi_ooo_engine }; // end namespace core }; // end namespace behavioural }; // end namespace morpheo #endif