1/** 2 * Copyright (c) 2018 Inria 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 25 unchanged lines hidden (view full) --- 34 * The victim is chosen using the timestamp. The timestamp may be true or 35 * pseudo, depending on the quantity of bits allocated for that. 36 */ 37 38#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_LRU_RP_HH__ 39#define __MEM_CACHE_REPLACEMENT_POLICIES_LRU_RP_HH__ 40 41#include "mem/cache/replacement_policies/base.hh" |
42 |
43struct LRURPParams; 44 |
45class LRURP : public BaseReplacementPolicy 46{ 47 protected: 48 /** LRU-specific implementation of replacement data. */ 49 struct LRUReplData : ReplacementData 50 { 51 /** Tick on which the entry was last touched. */ 52 Tick lastTouchTick; --- 66 unchanged lines hidden --- |