#ifdef STATISTICS /* * $Id: RegisterFile_Internal_Banked_statistics_declaration.cpp 145 2010-10-13 18:15:51Z rosiere $ * * [ Description ] * */ #include "Behavioural/Generic/RegisterFile/RegisterFile_Internal_Banked/include/RegisterFile_Internal_Banked.h" namespace morpheo { namespace behavioural { namespace generic { namespace registerfile { namespace registerfile_internal_banked { void RegisterFile_Internal_Banked::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) { _stat = new Stat (static_cast(_name), "RegisterFile_Internal_Banked", param_statistics); if (_param->_nb_port_read>0) _stat_port_read = _stat->create_counters("port_read",_param->_nb_port_read,"", _("Cycle number cycle with %d read(s)."), _("Percent of cycle number cycle with %d read(s)."), _("Average of read per cycle.") ); if (_param->_nb_port_write>0) _stat_port_write = _stat->create_counters("port_write",_param->_nb_port_write,"", _("Cycle number cycle with %d write(s)."), _("Percent of cycle number cycle with %d write(s)."), _("Average of write per cycle.") ); }; }; // end namespace registerfile_internal_banked }; // end namespace registerfile }; // end namespace generic }; // end namespace behavioural }; // end namespace morpheo #endif