source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/src/Ifetch_unit_statistics_allocation.cpp

Last change on this file was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Ifetch_unit_statistics_allocation.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Ifetch_unit/include/Ifetch_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace ifetch_unit {
17
18
19#undef  FUNCTION
20#define FUNCTION "Ifetch_unit::statistics_allocation"
21  void Ifetch_unit::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
22  {
23    log_printf(FUNC,Ifetch_unit,FUNCTION,"Begin");
24
25    _stat = new Stat (static_cast<std::string>(_name),
26                      "Ifetch_unit",
27                      param_statistics);
28
29    _stat->add_stat(_component_address_management->_stat);
30    _stat->add_stat(_component_ifetch_queue->_stat);
31    _stat->add_stat(_component_ifetch_unit_glue->_stat);
32   
33    log_printf(FUNC,Ifetch_unit,FUNCTION,"End");
34  };
35
36}; // end namespace ifetch_unit
37}; // end namespace front_end
38}; // end namespace multi_front_end
39}; // end namespace core
40
41}; // end namespace behavioural
42}; // end namespace morpheo             
43#endif
Note: See TracBrowser for help on using the repository browser.