34#include "params/BIPRP.hh"
40namespace replacement_policy
49BIP::reset(
const std::shared_ptr<ReplacementData>& replacement_data)
const
51 std::shared_ptr<LRUReplData> casted_replacement_data =
52 std::static_pointer_cast<LRUReplData>(replacement_data);
56 casted_replacement_data->lastTouchTick =
curTick();
59 casted_replacement_data->lastTouchTick = 1;
Copyright (c) 2018-2020 Inria All rights reserved.
const unsigned btp
Bimodal throtle parameter.
void reset(const std::shared_ptr< ReplacementData > &replacement_data) const override
Reset replacement data for an entry.
std::enable_if_t< std::is_integral_v< T >, T > random()
Use the SFINAE idiom to choose an implementation based on whether the type is integral or floating po...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Tick curTick()
The universal simulation clock.