Ignore:
Timestamp:
Mar 21, 2012, 3:24:54 PM (12 years ago)
Author:
bouyer
Message:

Introduce read_neutral(), which returns a directory entry without updating
the LRU bit.
Use read_neutral() in cache_monitor(), so that it doesn't affect the
cache state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_mem_cache_v4/caba/source/src/vci_mem_cache_v4.cpp

    r200 r212  
    448448/////////////////////////////////////////////////////
    449449{
    450     size_t way = 0;
    451     DirectoryEntry entry = m_cache_directory.read(addr, way);
     450    DirectoryEntry entry = m_cache_directory.read_neutral(addr);
    452451    if ( (entry.count != m_debug_previous_count) or
    453452         (entry.valid != m_debug_previous_hit) )
Note: See TracChangeset for help on using the changeset viewer.