lru_rp.hh (12727:56c23b54bcb1) | lru_rp.hh (13221:48bce2835200) |
---|---|
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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Daniel Carvalho 29 */ 30 31/** 32 * @file 33 * Declaration of a Least Recently Used replacement policy. | 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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Daniel Carvalho 29 */ 30 31/** 32 * @file 33 * Declaration of a Least Recently Used replacement policy. |
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. | 34 * The victim is chosen using the last touch timestamp. |
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; --- 75 unchanged lines hidden --- | 35 */ 36 37#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_LRU_RP_HH__ 38#define __MEM_CACHE_REPLACEMENT_POLICIES_LRU_RP_HH__ 39 40#include "mem/cache/replacement_policies/base.hh" 41 42struct LRURPParams; --- 75 unchanged lines hidden --- |