Go to the documentation of this file.
50 :
Policy(
p), defaultPriority(
p->qos_fixed_prio_default_prio)
65 this->pair<std::string, uint8_t>(requestor, priority));
73 this->pair<const SimObject*, uint8_t>(requestor, priority));
88 DPRINTF(QOS,
"Requestor %s (RequestorID %d) not present in "
89 "priorityMap, assigning default priority %d\n",
99 QoSFixedPriorityPolicyParams::create()
void initRequestorObj(const SimObject *requestor, uint8_t priority)
Initialize the fixed requestor's priority by providing the requestor's SimObject pointer and priority...
Fixed Priority QoS Policy.
const uint8_t defaultPriority
Default fixed priority value for non-listed requestors.
FixedPriorityPolicy(const Params *)
virtual uint8_t schedule(const RequestorID, const uint64_t) override
Schedules a packet based on fixed priority configuration.
virtual ~FixedPriorityPolicy()
void initRequestorName(std::string requestor, uint8_t priority)
Initialize the fixed requestor's priority by providing the requestor's name and priority value.
std::map< RequestorID, uint8_t > priorityMap
Priority map, associates configured requestors with a fixed QoS priority value.
std::string getRequestorName(RequestorID requestor_id)
Get the name of an object for a given request id.
System * system() const
read the system pointer
MemCtrl * memCtrl
Pointer to parent memory controller implementing the policy.
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17