[88] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id: Commit_unit_statistics_deallocation.cpp 137 2010-02-16 12:35:48Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/include/Commit_unit.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_ooo_engine { |
---|
| 15 | namespace ooo_engine { |
---|
| 16 | namespace 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_insert; |
---|
[110] | 30 | delete [] _stat_nb_inst_retire; |
---|
[98] | 31 | delete [] _stat_nb_inst_retire_ok; |
---|
| 32 | delete [] _stat_nb_inst_retire_ko; |
---|
[137] | 33 | delete [] _stat_nb_inst_instruction; |
---|
[110] | 34 | delete [] _stat_nb_inst_type; |
---|
[88] | 35 | delete [] _stat_bank_nb_inst; |
---|
[124] | 36 | |
---|
| 37 | delete [] _stat_nb_cycle_state_no_event ; |
---|
| 38 | delete [] _stat_nb_cycle_state_not_yet_event ; |
---|
| 39 | delete [] _stat_nb_cycle_state_event ; |
---|
| 40 | delete [] _stat_nb_cycle_state_wait_end ; |
---|
| 41 | |
---|
[88] | 42 | |
---|
| 43 | log_end(Commit_unit,FUNCTION); |
---|
| 44 | }; |
---|
| 45 | |
---|
| 46 | }; // end namespace commit_unit |
---|
| 47 | }; // end namespace ooo_engine |
---|
| 48 | }; // end namespace multi_ooo_engine |
---|
| 49 | }; // end namespace core |
---|
| 50 | |
---|
| 51 | }; // end namespace behavioural |
---|
| 52 | }; // end namespace morpheo |
---|
| 53 | #endif |
---|