gem5 v25.0.0.1
Loading...
Searching...
No Matches
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"
47
48namespace gem5
49{
50
51struct BIPRPParams;
52
53namespace replacement_policy
54{
55
56class BIP : public LRU
57{
58 protected:
63 const unsigned btp;
64
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__
static RandomPtr genRandom(Random *r=nullptr)
Definition random.hh:68
std::shared_ptr< Random > RandomPtr
Definition random.hh:65
const unsigned btp
Bimodal throtle parameter.
Definition bip_rp.hh:63
BIP(const Params &p)
Definition bip_rp.cc:42
Random::RandomPtr rng
Definition bip_rp.hh:65
LRU(const Params &p)
Definition lru_rp.cc:43
Copyright (c) 2018-2020 Inria All rights reserved.
Bitfield< 0 > p
Copyright (c) 2024 Arm Limited All rights reserved.
Definition binary32.hh:36

Generated on Sat Oct 18 2025 08:06:44 for gem5 by doxygen 1.14.0