gem5
v25.0.0.1
Loading...
Searching...
No Matches
mem
cache
replacement_policies
bip_rp.hh
Go to the documentation of this file.
1
28
41
42
#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__
43
#define __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__
44
45
#include "
base/random.hh
"
46
#include "
mem/cache/replacement_policies/lru_rp.hh
"
47
48
namespace
gem5
49
{
50
51
struct
BIPRPParams;
52
53
namespace
replacement_policy
54
{
55
56
class
BIP
:
public
LRU
57
{
58
protected
:
63
const
unsigned
btp
;
64
65
mutable
Random::RandomPtr
rng
=
Random::genRandom
();
66
67
public
:
68
typedef
BIPRPParams
Params
;
69
BIP
(
const
Params
&
p
);
70
~BIP
() =
default
;
71
79
void
reset
(
const
std::shared_ptr<ReplacementData>& replacement_data)
const
80
override
;
81
};
82
83
}
// namespace replacement_policy
84
}
// namespace gem5
85
86
#endif
// __MEM_CACHE_REPLACEMENT_POLICIES_BIP_RP_HH__
gem5::Random::genRandom
static RandomPtr genRandom(Random *r=nullptr)
Definition
random.hh:68
gem5::Random::RandomPtr
std::shared_ptr< Random > RandomPtr
Definition
random.hh:65
gem5::replacement_policy::BIP::Params
BIPRPParams Params
Definition
bip_rp.hh:68
gem5::replacement_policy::BIP::btp
const unsigned btp
Bimodal throtle parameter.
Definition
bip_rp.hh:63
gem5::replacement_policy::BIP::~BIP
~BIP()=default
gem5::replacement_policy::BIP::BIP
BIP(const Params &p)
Definition
bip_rp.cc:42
gem5::replacement_policy::BIP::rng
Random::RandomPtr rng
Definition
bip_rp.hh:65
gem5::replacement_policy::LRU::LRU
LRU(const Params &p)
Definition
lru_rp.cc:43
lru_rp.hh
Copyright (c) 2018-2020 Inria All rights reserved.
gem5::MipsISA::p
Bitfield< 0 > p
Definition
pra_constants.hh:326
gem5::replacement_policy
Definition
stride.hh:68
gem5::statistics::reset
void reset()
Definition
statistics.cc:309
gem5
Copyright (c) 2024 Arm Limited All rights reserved.
Definition
binary32.hh:36
random.hh
Generated on Sat Oct 18 2025 08:06:44 for gem5 by
doxygen
1.14.0