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; --- 41 unchanged lines hidden (view full) --- 50 * From the original paper, this implementation of RRIP is also called 51 * Static RRIP (SRRIP), as it always inserts entries with the same RRPV. 52 */ 53 54#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_BRRIP_RP_HH__ 55#define __MEM_CACHE_REPLACEMENT_POLICIES_BRRIP_RP_HH__ 56 57#include "mem/cache/replacement_policies/base.hh" |
58 |
59struct BRRIPRPParams; 60 |
61class BRRIPRP : public BaseReplacementPolicy 62{ 63 protected: 64 /** BRRIP-specific implementation of replacement data. */ 65 struct BRRIPReplData : ReplacementData 66 { 67 /** 68 * Re-Reference Interval Prediction Value. --- 90 unchanged lines hidden --- |