source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Internal_Banked/src/RegisterFile_Internal_Banked_statistics_declaration.cpp @ 145

Last change on this file since 145 was 145, checked in by rosiere, 14 years ago

1) add test with SPECINT2K
2) new config of Selftest
3) modif RAT to support multiple depth_save ... but not finish (need fix Update Prediction Table)
4) add Function_pointer but need fix

  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: RegisterFile_Internal_Banked_statistics_declaration.cpp 145 2010-10-13 18:15:51Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/RegisterFile_Internal_Banked/include/RegisterFile_Internal_Banked.h"
10
11namespace morpheo                    {
12namespace behavioural                {
13namespace generic                    {
14namespace registerfile               {
15namespace registerfile_internal_banked    {
16
17  void RegisterFile_Internal_Banked::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics)
18  {
19    _stat = new Stat (static_cast<std::string>(_name),
20                      "RegisterFile_Internal_Banked",
21                      param_statistics);
22
23    if (_param->_nb_port_read>0)
24    _stat_port_read         = _stat->create_counters("port_read",_param->_nb_port_read,"",
25                                                     _("Cycle number cycle with %d read(s)."),
26                                                     _("Percent of cycle number cycle with %d read(s)."),
27                                                     _("Average of read per cycle.")
28                                                     );
29
30    if (_param->_nb_port_write>0)
31    _stat_port_write        = _stat->create_counters("port_write",_param->_nb_port_write,"",
32                                                     _("Cycle number cycle with %d write(s)."),
33                                                     _("Percent of cycle number cycle with %d write(s)."),
34                                                     _("Average of write per cycle.")
35                                                     );
36  };
37
38}; // end namespace registerfile_internal_banked
39}; // end namespace registerfile
40}; // end namespace generic
41}; // end namespace behavioural         
42}; // end namespace morpheo             
43#endif
Note: See TracBrowser for help on using the repository browser.