source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/src/RegisterFile_statistics.cpp @ 53

Last change on this file since 53 was 53, checked in by rosiere, 17 years ago
  • Banc de registre multi banc
  • Banc de registre générique.
File size: 795 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id$
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Generic/RegisterFile/include/RegisterFile.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace generic {
14namespace registerfile {
15
16
17  string RegisterFile::statistics (uint32_t depth)
18  {
19    log_printf(FUNC,RegisterFile,"statistics","Begin");
20   
21    if (_param->_instance == instance_RegisterFile_Monilithic)
22      component_RegisterFile_Monolithic  ->statistics(depth);
23    else
24      component_RegisterFile_Multi_Banked->statistics(depth);
25
26    string txt = _stat->print(depth);
27   
28    log_printf(FUNC,RegisterFile,"statistics","End");
29
30    return txt;
31  };
32
33}; // end namespace registerfile
34}; // end namespace generic
35
36}; // end namespace behavioural
37}; // end namespace morpheo             
38#endif
Note: See TracBrowser for help on using the repository browser.