48BIP::reset(
const std::shared_ptr<ReplacementData>& replacement_data)
const
50 std::shared_ptr<LRUReplData> casted_replacement_data =
51 std::static_pointer_cast<LRUReplData>(replacement_data);
54 if (
rng->random<
unsigned>(1, 100) <=
btp) {
55 casted_replacement_data->lastTouchTick =
curTick();
58 casted_replacement_data->lastTouchTick = 1;