Go to the documentation of this file.
44 #include "debug/QOS.hh"
46 #include "params/QoSFixedPriorityPolicy.hh"
58 :
Policy(
p), defaultPriority(
p.qos_fixed_prio_default_prio)
73 this->pair<std::string, uint8_t>(requestor,
priority));
81 this->pair<const SimObject*, uint8_t>(requestor,
priority));
96 DPRINTF(QOS,
"Requestor %s (RequestorID %d) not present in "
97 "priorityMap, assigning default priority %d\n",
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
MemCtrl * memCtrl
Pointer to parent memory controller implementing the policy.
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()
virtual uint8_t schedule(const RequestorID, const uint64_t) override
Schedules a packet based on fixed priority configuration.
Bitfield< 3, 0 > priority
FixedPriorityPolicy(const Params &)
std::string getRequestorName(RequestorID requestor_id)
Get the name of an object for a given request id.
System * system() const
read the system pointer
std::map< RequestorID, uint8_t > priorityMap
Priority map, associates configured requestors with a fixed QoS priority value.
Abstract superclass for simulation objects.
const uint8_t defaultPriority
Default fixed priority value for non-listed requestors.
void initRequestorName(std::string requestor, uint8_t priority)
Initialize the fixed requestor's priority by providing the requestor's name and priority value.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:58 for gem5 by doxygen 1.8.17