source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/src/Decod_unit_statistics_allocation.cpp @ 83

Last change on this file since 83 was 83, checked in by rosiere, 16 years ago

Add component : Context_State (manage miss prediction, exception , decod_enable, synchronisation instruction ...)

  • Property svn:keywords set to Id
File size: 958 bytes
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Decod_unit_statistics_allocation.cpp 83 2008-05-09 18:00:21Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/include/Decod_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace decod_unit {
17
18
19#undef  FUNCTION
20#define FUNCTION "Decod_unit::statistics_allocation"
21  void Decod_unit::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
22  {
23    log_begin(Decod_unit,FUNCTION);
24
25    _stat = new Stat (static_cast<std::string>(_name),
26                      "Decod_unit",
27                      param_statistics);
28
29    _stat->add_stat(_component_decod      ->_stat);
30    _stat->add_stat(_component_decod_queue->_stat);
31   
32    log_end(Decod_unit,FUNCTION);
33  };
34
35}; // end namespace decod_unit
36}; // end namespace front_end
37}; // end namespace multi_front_end
38}; // end namespace core
39
40}; // end namespace behavioural
41}; // end namespace morpheo             
42#endif
Note: See TracBrowser for help on using the repository browser.