bip_rp.hh (12684:44ebd2bc020f) | bip_rp.hh (12727:56c23b54bcb1) |
---|---|
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; --- 31 unchanged lines hidden (view full) --- 40 * 41 * In the original paper they use btp = 1/32 ~= 3%. 42 */ 43 44#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__ 45#define __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__ 46 47#include "mem/cache/replacement_policies/lru_rp.hh" | 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; --- 31 unchanged lines hidden (view full) --- 40 * 41 * In the original paper they use btp = 1/32 ~= 3%. 42 */ 43 44#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__ 45#define __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__ 46 47#include "mem/cache/replacement_policies/lru_rp.hh" |
48#include "params/BIPRP.hh" | |
49 | 48 |
49struct BIPRPParams; 50 |
|
50class BIPRP : public LRURP 51{ 52 protected: 53 /** 54 * Bimodal throtle parameter. Value in the range [0,100] used to decide 55 * if a new entry is inserted at the MRU or LRU position. 56 */ 57 const unsigned btp; --- 27 unchanged lines hidden --- | 51class BIPRP : public LRURP 52{ 53 protected: 54 /** 55 * Bimodal throtle parameter. Value in the range [0,100] used to decide 56 * if a new entry is inserted at the MRU or LRU position. 57 */ 58 const unsigned btp; --- 27 unchanged lines hidden --- |