Ignore:
Timestamp:
Apr 20, 2009, 11:29:17 PM (15 years ago)
Author:
rosiere
Message:

1) Write queue with mealy
2) Network : fix bug
3) leak memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_transition.cpp

    r113 r115  
    468468                          reg_UPDATE_PREDICTION_TABLE [context][depth]._retire_ok       = true;
    469469                          reg_UPDATE_PREDICTION_TABLE [context][depth]._miss_prediction = ko;
     470
     471#ifdef STATISTICS
     472                          if (usage_is_set(_usage,USE_STATISTICS))
     473                            {
     474                              if (reg_UPDATE_PREDICTION_TABLE [context][depth]._ifetch_prediction)
     475                                (*_stat_nb_branch_ifetch_prediction [context])++;
     476                              if (reg_UPDATE_PREDICTION_TABLE [context][depth]._is_accurate)
     477                                (*_stat_nb_branch_accurate          [context])++;
     478                            }
     479#endif
    470480                        }
    471481
Note: See TracChangeset for help on using the changeset viewer.