38#ifndef __MEM_CACHE_TAGS_PARTITIONING_POLICIES_BASE_HH__
39#define __MEM_CACHE_TAGS_PARTITIONING_POLICIES_BASE_HH__
43#include "params/BasePartitioningPolicy.hh"
49class ReplaceableEntry;
51namespace partitioning_policy
80 const uint64_t partition_id)
const = 0;
Abstract superclass for simulation objects.
A Partitioning Policy is a cache partitioning mechanism that limits the cache block allocations in a ...
BasePartitioningPolicy(const BasePartitioningPolicyParams ¶ms)
virtual void filterByPartition(std::vector< ReplaceableEntry * > &entries, const uint64_t partition_id) const =0
Filters the allocatable cache blocks for a memory request based on its PartitionID and policy allocat...
virtual void notifyRelease(const uint64_t partition_id)=0
Notify of release of ownership of a cache line.
virtual void notifyAcquire(const uint64_t partition_id)=0
Notify of acquisition of ownership of a cache line.
const Params & params() const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.