Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/src/Victim.cpp

    r81 r88  
    3939    allocation (
    4040#ifdef STATISTICS
    41                 param_statistics
     41                param_statistics
    4242#endif
    43                 );
     43                );
    4444
    4545#ifdef STATISTICS
    46     if (_usage & USE_STATISTICS)
    47       {
    48         switch (_param->_victim_scheme)
    49           {
    50 //        case VICTIM_RANDOM      : _stat = _component_victim_random      ->_stat; break;
    51 //        case VICTIM_ROUND_ROBIN : _stat = _component_victim_round_robin ->_stat; break;
    52 //        case VICTIM_NLU         : _stat = _component_victim_nlu         ->_stat; break;
    53           case VICTIM_PSEUDO_LRU  : _stat = _component_victim_pseudo_lru  ->_stat; break;
    54 //        case VICTIM_LRU         : _stat = _component_victim_lru         ->_stat; break;
    55 //        case VICTIM_FIFO        : _stat = _component_victim_fifo        ->_stat; break;
    56           default : break;
    57           }
     46    switch (_param->_victim_scheme)
     47      {
     48//    case VICTIM_RANDOM      : _stat = _component_victim_random      ->_stat; break;
     49//    case VICTIM_ROUND_ROBIN : _stat = _component_victim_round_robin ->_stat; break;
     50//    case VICTIM_NLU         : _stat = _component_victim_nlu         ->_stat; break;
     51      case VICTIM_PSEUDO_LRU  : _stat = _component_victim_pseudo_lru  ->_stat; break;
     52//    case VICTIM_LRU         : _stat = _component_victim_lru         ->_stat; break;
     53//    case VICTIM_FIFO        : _stat = _component_victim_fifo        ->_stat; break;
     54      default : break;
    5855      }
    5956#endif
Note: See TracChangeset for help on using the changeset viewer.