source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_statistics_deallocation.cpp @ 141

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

Add statistics in stage IFETCH, DECODE and COMMIT (insert, retire and commit)

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Commit_unit_statistics_deallocation.cpp 141 2010-08-02 18:56:05Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_ooo_engine {
15namespace ooo_engine {
16namespace commit_unit {
17
18
19#undef  FUNCTION
20#define FUNCTION "Commit_unit::statistics_deallocation"
21  void Commit_unit::statistics_deallocation (void)
22  {
23    log_begin(Commit_unit,FUNCTION);
24
25    log_printf(INFO,Commit_unit,FUNCTION,_("<%s> : Generate Statistics file"),_name.c_str());
26
27    delete _stat;
28
29    delete [] _stat_nb_inst_retire_ok;
30    delete [] _stat_nb_inst_retire_ko;
31    delete [] _stat_nb_inst_instruction;
32    delete [] _stat_nb_inst_type;
33    delete [] _stat_bank_nb_inst;
34
35    delete [] _stat_nb_cycle_state_no_event      ;
36    delete [] _stat_nb_cycle_state_not_yet_event ;
37    delete [] _stat_nb_cycle_state_event         ;
38    delete [] _stat_nb_cycle_state_wait_end      ;
39
40    delete [] _stat_nb_inst_insert;
41    delete [] _stat_nb_inst_retire;
42    delete [] _stat_nb_inst_commit;
43       
44    log_end(Commit_unit,FUNCTION);
45  };
46
47}; // end namespace commit_unit
48}; // end namespace ooo_engine
49}; // end namespace multi_ooo_engine
50}; // end namespace core
51
52}; // end namespace behavioural
53}; // end namespace morpheo             
54#endif
Note: See TracBrowser for help on using the repository browser.