50 :
Policy(p), defaultPriority(p->qos_fixed_prio_default_prio)
65 this->pair<std::string, uint8_t>(master, priority));
72 this->pair<const SimObject*, uint8_t>(master, priority));
87 DPRINTF(QOS,
"Master %s (MasterID %d) not present in priorityMap, " 88 "assigning default priority %d\n",
98 QoSFixedPriorityPolicyParams::create()
MemCtrl * memCtrl
Pointer to parent memory controller implementing the policy.
std::string getMasterName(MasterID master_id)
Get the name of an object for a given request id.
const uint8_t defaultPriority
Default fixed priority value for non-listed masters.
Declaration of a request, the overall memory request consisting of the parts of the request that are ...
std::map< MasterID, uint8_t > priorityMap
Priority map, associates configured masters with a fixed QoS priority value.
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
void initMasterObj(const SimObject *master, uint8_t priority)
Initialize the fixed master's priority by providing the master's SimObject pointer and priority value...
Fixed Priority QoS Policy.
void initMasterName(std::string master, uint8_t priority)
Initialize the fixed master's priority by providing the master's name and priority value...
System * system() const
read the system pointer Implemented for completeness with the setter
virtual ~FixedPriorityPolicy()
virtual uint8_t schedule(const MasterID, const uint64_t) override
Schedules a packet based on fixed priority configuration.
FixedPriorityPolicy(const Params *)
Abstract superclass for simulation objects.