38#ifndef __MEM_QOS_POLICY_FIXED_PRIO_HH__
39#define __MEM_QOS_POLICY_FIXED_PRIO_HH__
50struct QoSFixedPriorityPolicyParams;
66 using Params = QoSFixedPriorityPolicyParams;
Abstract superclass for simulation objects.
Fixed Priority QoS Policy.
QoSFixedPriorityPolicyParams Params
void initRequestorObj(const SimObject *requestor, uint8_t priority)
Initialize the fixed requestor's priority by providing the requestor's SimObject pointer and priority...
virtual ~FixedPriorityPolicy()
const uint8_t defaultPriority
Default fixed priority value for non-listed requestors.
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
FixedPriorityPolicy(const Params &)
std::map< RequestorID, uint8_t > priorityMap
Priority map, associates configured requestors with a fixed QoS priority value.
virtual uint8_t schedule(const RequestorID, const uint64_t) override
Schedules a packet based on fixed priority configuration.
void initRequestorName(std::string requestor, uint8_t priority)
Initialize the fixed requestor's priority by providing the requestor's name and priority value.
Bitfield< 3, 0 > priority
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.