source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_statistics_deallocation.cpp @ 97

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

1) Update Prediction Table : statistics
2) Size instruction address on 30 bits
3) Change Log File
4) Add debug_level in simulation configuration file

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Update_Prediction_Table_statistics_deallocation.cpp 97 2008-12-19 15:34:00Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/include/Update_Prediction_Table.h"
10#include "Behavioural/include/Allocation.h"
11
12namespace morpheo {
13namespace behavioural {
14namespace core {
15namespace multi_front_end {
16namespace front_end {
17namespace prediction_unit {
18namespace update_prediction_table {
19
20
21#undef  FUNCTION
22#define FUNCTION "Update_Prediction_Table::statistics_deallocation"
23  void Update_Prediction_Table::statistics_deallocation (void)
24  {
25    log_printf(FUNC,Update_Prediction_Table,FUNCTION,"Begin");
26
27    log_printf(INFO,Update_Prediction_Table,FUNCTION,"Generate Statistics file");
28   
29    delete    _stat;
30
31    DELETE2(_stat_nb_branch_hit            ,_param->_nb_context,MAX_BRANCH_CONDITION);
32    DELETE2(_stat_nb_branch_miss           ,_param->_nb_context,MAX_BRANCH_CONDITION);
33    DELETE1(_stat_nb_branch_unused         ,_param->_nb_context);
34    DELETE1(_stat_ufpt_queue_nb_elt        ,_param->_nb_context);
35    DELETE1(_stat_upt_queue_nb_elt         ,_param->_nb_context);
36   
37    log_printf(FUNC,Update_Prediction_Table,FUNCTION,"End");
38  };
39
40}; // end namespace update_prediction_table
41}; // end namespace prediction_unit
42}; // end namespace front_end
43}; // end namespace multi_front_end
44}; // end namespace core
45
46}; // end namespace behavioural
47}; // end namespace morpheo             
48#endif
Note: See TracBrowser for help on using the repository browser.