Deleted Added
sdiff udiff text old ( 12727:56c23b54bcb1 ) new ( 13849:858526a875ab )
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;

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

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.
69 * A value equal to max_RRPV + 1 indicates an invalid entry.
70 */
71 int rrpv;
72
73 /**
74 * Default constructor. Invalidate data.
75 */
76 BRRIPReplData(const int max_RRPV) : rrpv(max_RRPV + 1) {}

--- 82 unchanged lines hidden ---