Deleted Added
sdiff udiff text old ( 12685:dcf85db6ec5c ) 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;

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

25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Daniel Carvalho
29 */
30
31#include "mem/cache/replacement_policies/second_chance_rp.hh"
32
33#include <cassert>
34
35#include "params/SecondChanceRP.hh"
36
37SecondChanceRP::SecondChanceRP(const Params *p)
38 : FIFORP(p)
39{
40}
41
42void
43SecondChanceRP::useSecondChance(
44 const std::shared_ptr<SecondChanceReplData>& replacement_data) const

--- 94 unchanged lines hidden ---