a628afedad
this patch implements a new tags class that uses a random replacement policy. these tags prefer to evict invalid blocks first, if none are available a replacement candidate is chosen at random. this patch factors out the common code in the LRU class and creates a new abstract class: the BaseSetAssoc class. any set associative tag class must implement the functionality related to the actual replacement policy in the following methods: accessBlock() findVictim() insertBlock() invalidate() |
||
---|---|---|
.. | ||
base.cc | ||
base.hh | ||
base_set_assoc.cc | ||
base_set_assoc.hh | ||
cacheset.hh | ||
fa_lru.cc | ||
fa_lru.hh | ||
lru.cc | ||
lru.hh | ||
random_repl.cc | ||
random_repl.hh | ||
SConscript | ||
Tags.py |