Deleted Added
sdiff udiff text old ( 12684:44ebd2bc020f ) new ( 12727:56c23b54bcb1 )
full compact
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;

--- 24 unchanged lines hidden (view full) ---

33 * Declaration of a Most Recently Used replacement policy.
34 * The victim is chosen using the timestamp. The entry that was accessed the
35 * last is the one chosen to be replaced.
36 */
37
38#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_MRU_RP_HH__
39#define __MEM_CACHE_REPLACEMENT_POLICIES_MRU_RP_HH__
40
41#include "mem/cache/replacement_policies/base.hh"
42#include "params/MRURP.hh"
43
44class MRURP : public BaseReplacementPolicy
45{
46 protected:
47 /** MRU-specific implementation of replacement data. */
48 struct MRUReplData : ReplacementData
49 {
50 /** Tick on which the entry was last touched. */
51 Tick lastTouchTick;

--- 66 unchanged lines hidden ---