Ignore:
Timestamp:
Aug 2, 2010, 8:56:05 PM (14 years ago)
Author:
rosiere
Message:

Add statistics in stage IFETCH, DECODE and COMMIT (insert, retire and commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/src/Decod_statistics_allocation.cpp

    r110 r141  
    2828                      param_statistics);
    2929
    30     _stat_sum_inst_decod = _stat->create_variable("sum_inst_decod");
    31    
    32    
    33     _stat->create_expr_average_by_cycle ("average_nb_inst_decod","sum_inst_decod","","Average of decod instruction by cycle");
    34     _stat->create_expr_percent          ("percent_nb_inst_decod","average_nb_inst_decod", toString(_param->_nb_inst_decod), "Percent of decod instruction by cycle");
     30    _stat_nb_inst_decod = _stat->create_counters("nb_inst_decod",_param->_nb_inst_decod,"",
     31                                                 _("Cycle number with %d decoded instruction(s)."),
     32                                                 _("Percent of cycle number with %d decoded instruction(s)."),
     33                                                 _("Average of decoded instructions.")
     34                                                 );
    3535 
    3636    log_printf(FUNC,Decod,FUNCTION,"End");
Note: See TracChangeset for help on using the changeset viewer.