예제 #1
0
 def add_to_data(cache_access, eviction_decision):
   entry = evict_trace.EvictionEntry(cache_access, eviction_decision)
   data.append(entry)
   # Add here for cache line aligned address
   addresses.add(cache_access.address)
   entry = evict_trace.EvictionEntry(cache_access, eviction_decision)
   etrace.write(entry)
예제 #2
0
 def write_to_eviction_trace(cache_access, eviction_decision):
   evict_trace.write(
       evict.EvictionEntry(cache_access, eviction_decision))