|
gem5
v21.2.1.1
|
The qos::MemCtrl is a base class for Memory objects which support QoS - it provides access to a set of QoS scheduling policies. More...
#include <mem_ctrl.hh>
Classes | |
| struct | MemCtrlStats |
Public Types | |
| enum | BusState { READ, WRITE } |
| Bus Direction. More... | |
Public Types inherited from gem5::ClockedObject | |
| using | Params = ClockedObjectParams |
| Parameters of ClockedObject. More... | |
Public Types inherited from gem5::SimObject | |
| typedef SimObjectParams | Params |
Public Member Functions | |
| MemCtrl (const QoSMemCtrlParams &) | |
| QoS Memory base class. More... | |
| virtual | ~MemCtrl () |
| BusState | getBusState () const |
| Gets the current bus state. More... | |
| BusState | getBusStateNext () const |
| Gets the next bus state. More... | |
| bool | hasRequestor (RequestorID id) const |
| hasRequestor returns true if the selected requestor(ID) has been registered in the memory controller, which happens if the memory controller has received at least a packet from that requestor. More... | |
| uint64_t | getReadQueueSize (const uint8_t prio) const |
| Gets a READ queue size. More... | |
| uint64_t | getWriteQueueSize (const uint8_t prio) const |
| Gets a WRITE queue size. More... | |
| uint64_t | getTotalReadQueueSize () const |
| Gets the total combined READ queues size. More... | |
| uint64_t | getTotalWriteQueueSize () const |
| Gets the total combined WRITE queues size. More... | |
| Tick | getServiceTick (const uint8_t prio) const |
| Gets the last service tick related to a QoS Priority. More... | |
| uint8_t | numPriorities () const |
| Gets the total number of priority levels in the QoS memory controller. More... | |
| System * | system () const |
| read the system pointer More... | |
Public Member Functions inherited from gem5::ClockedObject | |
| ClockedObject (const ClockedObjectParams &p) | |
| void | serialize (CheckpointOut &cp) const override |
| Serialize an object. More... | |
| void | unserialize (CheckpointIn &cp) override |
| Unserialize an object. More... | |
Public Member Functions inherited from gem5::SimObject | |
| const Params & | params () const |
| SimObject (const Params &p) | |
| virtual | ~SimObject () |
| virtual void | init () |
| init() is called after all C++ SimObjects have been created and all ports are connected. More... | |
| virtual void | loadState (CheckpointIn &cp) |
| loadState() is called on each SimObject when restoring from a checkpoint. More... | |
| virtual void | initState () |
| initState() is called on each SimObject when not restoring from a checkpoint. More... | |
| virtual void | regProbePoints () |
| Register probe points for this object. More... | |
| virtual void | regProbeListeners () |
| Register probe listeners for this object. More... | |
| ProbeManager * | getProbeManager () |
| Get the probe manager for this object. More... | |
| virtual Port & | getPort (const std::string &if_name, PortID idx=InvalidPortID) |
| Get a port with a given name and index. More... | |
| virtual void | startup () |
| startup() is the final initialization call before simulation. More... | |
| DrainState | drain () override |
| Provide a default implementation of the drain interface for objects that don't need draining. More... | |
| virtual void | memWriteback () |
| Write back dirty buffers to memory using functional writes. More... | |
| virtual void | memInvalidate () |
| Invalidate the contents of memory buffers. More... | |
| void | serialize (CheckpointOut &cp) const override |
| Serialize an object. More... | |
| void | unserialize (CheckpointIn &cp) override |
| Unserialize an object. More... | |
Public Member Functions inherited from gem5::EventManager | |
| EventQueue * | eventQueue () const |
| void | schedule (Event &event, Tick when) |
| void | deschedule (Event &event) |
| void | reschedule (Event &event, Tick when, bool always=false) |
| void | schedule (Event *event, Tick when) |
| void | deschedule (Event *event) |
| void | reschedule (Event *event, Tick when, bool always=false) |
| void | wakeupEventQueue (Tick when=(Tick) -1) |
| This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. More... | |
| void | setCurTick (Tick newVal) |
| EventManager (EventManager &em) | |
| Event manger manages events in the event queue. More... | |
| EventManager (EventManager *em) | |
| EventManager (EventQueue *eq) | |
Public Member Functions inherited from gem5::Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
| void | serializeSection (CheckpointOut &cp, const char *name) const |
| Serialize an object into a new section. More... | |
| void | serializeSection (CheckpointOut &cp, const std::string &name) const |
| void | unserializeSection (CheckpointIn &cp, const char *name) |
| Unserialize an a child object. More... | |
| void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Member Functions inherited from gem5::Drainable | |
| DrainState | drainState () const |
| Return the current drain state of an object. More... | |
| virtual void | notifyFork () |
| Notify a child process of a fork. More... | |
Public Member Functions inherited from gem5::statistics::Group | |
| Group (Group *parent, const char *name=nullptr) | |
| Construct a new statistics group. More... | |
| virtual | ~Group () |
| virtual void | regStats () |
| Callback to set stat parameters. More... | |
| virtual void | resetStats () |
| Callback to reset stats. More... | |
| virtual void | preDumpStats () |
| Callback before stats are dumped. More... | |
| void | addStat (statistics::Info *info) |
| Register a stat with this group. More... | |
| const std::map< std::string, Group * > & | getStatGroups () const |
| Get all child groups associated with this object. More... | |
| const std::vector< Info * > & | getStats () const |
| Get all stats associated with this object. More... | |
| void | addStatGroup (const char *name, Group *block) |
| Add a stat block as a child of this block. More... | |
| const Info * | resolveStat (std::string name) const |
| Resolve a stat by its name within this group. More... | |
| void | mergeStatGroup (Group *block) |
| Merge the contents (stats & children) of a block to this block. More... | |
| Group ()=delete | |
| Group (const Group &)=delete | |
| Group & | operator= (const Group &)=delete |
Public Member Functions inherited from gem5::Named | |
| Named (const std::string &name_) | |
| virtual | ~Named ()=default |
| virtual std::string | name () const |
Public Member Functions inherited from gem5::Clocked | |
| void | updateClockPeriod () |
| Update the tick to the current tick. More... | |
| Tick | clockEdge (Cycles cycles=Cycles(0)) const |
| Determine the tick when a cycle begins, by default the current one, but the argument also enables the caller to determine a future cycle. More... | |
| Cycles | curCycle () const |
| Determine the current cycle, corresponding to a tick aligned to a clock edge. More... | |
| Tick | nextCycle () const |
| Based on the clock of the object, determine the start tick of the first cycle that is at least one cycle in the future. More... | |
| uint64_t | frequency () const |
| Tick | clockPeriod () const |
| double | voltage () const |
| Cycles | ticksToCycles (Tick t) const |
| Tick | cyclesToTicks (Cycles c) const |
Protected Member Functions | |
| void | addRequestor (const RequestorID id) |
| Initializes dynamically counters and statistics for a given Requestor. More... | |
| void | logRequest (BusState dir, RequestorID id, uint8_t _qos, Addr addr, uint64_t entries) |
| Called upon receiving a request or updates statistics and updates queues status. More... | |
| void | logResponse (BusState dir, RequestorID id, uint8_t _qos, Addr addr, uint64_t entries, double delay) |
| Called upon receiving a response, updates statistics and updates queues status. More... | |
| template<typename Queues > | |
| uint8_t | qosSchedule (std::initializer_list< Queues * > queues_ptr, uint64_t queue_entry_size, const PacketPtr pkt) |
| Assign priority to a packet by executing the configured QoS policy. More... | |
| uint8_t | schedule (RequestorID id, uint64_t data) |
| uint8_t | schedule (const PacketPtr pkt) |
| BusState | selectNextBusState () |
| Returns next bus direction (READ or WRITE) based on configured policy. More... | |
| void | setCurrentBusState () |
| Set current bus direction (READ or WRITE) from next selected one. More... | |
| void | recordTurnaroundStats () |
| Record statistics on turnarounds based on busStateNext and busState values. More... | |
| template<typename Queues > | |
| void | escalate (std::initializer_list< Queues * > queues, uint64_t queue_entry_size, RequestorID id, uint8_t tgt_prio) |
| Escalates/demotes priority of all packets belonging to the passed requestor to given priority value. More... | |
| template<typename Queues > | |
| void | escalateQueues (Queues &queues, uint64_t queue_entry_size, RequestorID id, uint8_t curr_prio, uint8_t tgt_prio) |
| Escalates/demotes priority of all packets belonging to the passed requestor to given priority value in a specified cluster of queues (e.g. More... | |
Protected Member Functions inherited from gem5::Drainable | |
| Drainable () | |
| virtual | ~Drainable () |
| virtual void | drainResume () |
| Resume execution after a successful drain. More... | |
| void | signalDrainDone () const |
| Signal that an object is drained. More... | |
Protected Member Functions inherited from gem5::Clocked | |
| Clocked (ClockDomain &clk_domain) | |
| Create a clocked object and set the clock domain based on the parameters. More... | |
| Clocked (Clocked &)=delete | |
| Clocked & | operator= (Clocked &)=delete |
| virtual | ~Clocked () |
| Virtual destructor due to inheritance. More... | |
| void | resetClock () const |
| Reset the object's clock using the current global tick value. More... | |
| virtual void | clockPeriodUpdated () |
| A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed. More... | |
Protected Attributes | |
| const std::unique_ptr< Policy > | policy |
| QoS Policy, assigns QoS priority to the incoming packets. More... | |
| const std::unique_ptr< TurnaroundPolicy > | turnPolicy |
| QoS Bus Turnaround Policy: selects the bus direction (READ/WRITE) More... | |
| const std::unique_ptr< QueuePolicy > | queuePolicy |
| QoS Queue Policy: selects packet among same-priority queue. More... | |
| const uint8_t | _numPriorities |
| Number of configured QoS priorities. More... | |
| const bool | qosPriorityEscalation |
| Enables QoS priority escalation. More... | |
| const bool | qosSyncroScheduler |
| Enables QoS synchronized scheduling invokes the QoS scheduler on all requestors, at every packet arrival. More... | |
| std::unordered_map< RequestorID, const std::string > | requestors |
| Hash of requestor ID - requestor name. More... | |
| std::unordered_map< RequestorID, std::vector< uint64_t > > | packetPriorities |
| Hash of requestors - number of packets queued per priority. More... | |
| std::unordered_map< RequestorID, std::unordered_map< uint64_t, std::deque< uint64_t > > > | requestTimes |
| Hash of requestors - address of request - queue of times of request. More... | |
| std::vector< Tick > | serviceTick |
| Vector of QoS priorities/last service time. More... | |
| std::vector< uint64_t > | readQueueSizes |
| Read request packets queue length in #packets, per QoS priority. More... | |
| std::vector< uint64_t > | writeQueueSizes |
| Write request packets queue length in #packets, per QoS priority. More... | |
| uint64_t | totalReadQueueSize |
| Total read request packets queue length in #packets. More... | |
| uint64_t | totalWriteQueueSize |
| Total write request packets queue length in #packets. More... | |
| BusState | busState |
| Bus state used to control the read/write switching and drive the scheduling of the next request. More... | |
| BusState | busStateNext |
| bus state for next request event triggered More... | |
| gem5::memory::qos::MemCtrl::MemCtrlStats | stats |
| System * | _system |
| Pointer to the System object. More... | |
Protected Attributes inherited from gem5::SimObject | |
| const SimObjectParams & | _params |
| Cached copy of the object parameters. More... | |
Protected Attributes inherited from gem5::EventManager | |
| EventQueue * | eventq |
| A pointer to this object's event queue. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::SimObject | |
| static void | serializeAll (const std::string &cpt_dir) |
| Create a checkpoint by serializing all SimObjects in the system. More... | |
| static SimObject * | find (const char *name) |
| Find the SimObject with the given name and return a pointer to it. More... | |
| static void | setSimObjectResolver (SimObjectResolver *resolver) |
| There is a single object name resolver, and it is only set when simulation is restoring from checkpoints. More... | |
| static SimObjectResolver * | getSimObjectResolver () |
| There is a single object name resolver, and it is only set when simulation is restoring from checkpoints. More... | |
Static Public Member Functions inherited from gem5::Serializable | |
| static const std::string & | currentSection () |
| Gets the fully-qualified name of the active section. More... | |
| static void | generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream) |
| Generate a checkpoint file so that the serialization can be routed to it. More... | |
Public Attributes inherited from gem5::ClockedObject | |
| PowerState * | powerState |
The qos::MemCtrl is a base class for Memory objects which support QoS - it provides access to a set of QoS scheduling policies.
Definition at line 80 of file mem_ctrl.hh.
| gem5::memory::qos::MemCtrl::MemCtrl | ( | const QoSMemCtrlParams & | p | ) |
QoS Memory base class.
| p | pointer to QoSMemCtrl parameters |
Definition at line 55 of file mem_ctrl.cc.
References _numPriorities, policy, queuePolicy, readQueueSizes, serviceTick, turnPolicy, and writeQueueSizes.
|
virtual |
Definition at line 88 of file mem_ctrl.cc.
|
protected |
Initializes dynamically counters and statistics for a given Requestor.
| id | the requestor's ID |
Definition at line 275 of file mem_ctrl.cc.
References _system, DPRINTF, gem5::System::getRequestorName(), hasRequestor(), gem5::ArmISA::id, numPriorities(), packetPriorities, and requestors.
Referenced by escalate(), and logRequest().
|
protected |
Escalates/demotes priority of all packets belonging to the passed requestor to given priority value.
| queues | list of pointers to packet queues |
| queue_entry_size | size of an entry in the queue |
| id | requestor whose packets priority will change |
| tgt_prio | target priority value |
Definition at line 448 of file mem_ctrl.hh.
References addRequestor(), DPRINTF, escalateQueues(), numPriorities(), packetPriorities, gem5::ArmISA::q, readQueueSizes, requestors, and writeQueueSizes.
Referenced by qosSchedule().
|
protected |
Escalates/demotes priority of all packets belonging to the passed requestor to given priority value in a specified cluster of queues (e.g.
read queues or write queues) which is passed as an argument to the function. The curr_prio/tgt_prio parameters are queue selectors in the queue cluster.
| queues | reference to packet queues |
| queue_entry_size | size of an entry in the queue |
| id | requestor whose packets priority will change |
| curr_prio | source queue priority value |
| tgt_prio | target queue priority value |
Definition at line 376 of file mem_ctrl.hh.
References gem5::divCeil(), DPRINTF, gem5::ArmISA::id, packetPriorities, panic_if, readQueueSizes, requestors, and writeQueueSizes.
Referenced by escalate().
|
inline |
Gets the current bus state.
Definition at line 297 of file mem_ctrl.hh.
References busState.
Referenced by gem5::memory::qos::TurnaroundPolicyIdeal::selectBusState(), and selectNextBusState().
|
inline |
Gets the next bus state.
Definition at line 304 of file mem_ctrl.hh.
References busStateNext.
|
inline |
Gets a READ queue size.
| prio | QoS Priority of the queue |
Definition at line 327 of file mem_ctrl.hh.
References readQueueSizes.
Referenced by gem5::memory::qos::TurnaroundPolicyIdeal::selectBusState().
|
inline |
Gets the last service tick related to a QoS Priority.
| prio | QoS Priority |
Definition at line 359 of file mem_ctrl.hh.
References serviceTick.
|
inline |
Gets the total combined READ queues size.
Definition at line 344 of file mem_ctrl.hh.
References totalReadQueueSize.
Referenced by selectNextBusState().
|
inline |
Gets the total combined WRITE queues size.
Definition at line 351 of file mem_ctrl.hh.
References totalWriteQueueSize.
Referenced by selectNextBusState().
|
inline |
Gets a WRITE queue size.
| prio | QoS Priority of the queue |
Definition at line 336 of file mem_ctrl.hh.
References writeQueueSizes.
Referenced by gem5::memory::qos::TurnaroundPolicyIdeal::selectBusState().
|
inline |
hasRequestor returns true if the selected requestor(ID) has been registered in the memory controller, which happens if the memory controller has received at least a packet from that requestor.
| id | requestor id to lookup |
Definition at line 316 of file mem_ctrl.hh.
References requestors.
Referenced by addRequestor(), gem5::memory::qos::LrgQueuePolicy::enqueuePacket(), logResponse(), and gem5::memory::qos::LrgQueuePolicy::selectPacket().
|
protected |
Called upon receiving a request or updates statistics and updates queues status.
| dir | request direction |
| id | requestor id |
| _qos | packet QoS value |
| addr | packet address |
| entries | number of entries to record |
Definition at line 92 of file mem_ctrl.cc.
References gem5::X86ISA::addr, addRequestor(), gem5::memory::qos::MemCtrl::MemCtrlStats::avgPriority, gem5::memory::qos::MemCtrl::MemCtrlStats::avgPriorityDistance, gem5::curTick(), DPRINTF, gem5::ArmISA::i, gem5::ArmISA::id, gem5::ArmISA::j, packetPriorities, READ, readQueueSizes, requestors, requestTimes, stats, totalReadQueueSize, totalWriteQueueSize, WRITE, and writeQueueSizes.
Referenced by gem5::memory::MemCtrl::addToReadQueue(), gem5::memory::MemCtrl::addToWriteQueue(), and gem5::memory::qos::MemSinkCtrl::recvTimingReq().
|
protected |
Called upon receiving a response, updates statistics and updates queues status.
| dir | response direction |
| id | requestor id |
| _qos | packet QoS value |
| addr | packet address |
| entries | number of entries to record |
| delay | response delay |
Definition at line 149 of file mem_ctrl.cc.
References gem5::X86ISA::addr, gem5::curTick(), DPRINTF, hasRequestor(), gem5::ArmISA::id, gem5::ArmISA::j, packetPriorities, panic_if, gem5::memory::qos::MemCtrl::MemCtrlStats::priorityMaxLatency, gem5::memory::qos::MemCtrl::MemCtrlStats::priorityMinLatency, READ, readQueueSizes, requestors, requestTimes, gem5::sim_clock::as_float::s, stats, totalReadQueueSize, totalWriteQueueSize, gem5::statistics::VectorBase< Derived, Stor >::value(), WRITE, and writeQueueSizes.
Referenced by gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), and gem5::memory::MemCtrl::processNextReqEvent().
|
inline |
Gets the total number of priority levels in the QoS memory controller.
Definition at line 367 of file mem_ctrl.hh.
References _numPriorities.
Referenced by addRequestor(), gem5::memory::DRAMInterface::doBurstAccess(), escalate(), gem5::memory::qos::PropFairPolicy::initRequestor(), gem5::memory::qos::MemSinkCtrl::MemSinkCtrl(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processNextReqEvent(), qosSchedule(), and gem5::memory::qos::TurnaroundPolicyIdeal::selectBusState().
|
protected |
Assign priority to a packet by executing the configured QoS policy.
| queues_ptr | list of pointers to packet queues |
| queue_entry_size | size in bytes per each packet in the queue |
| pkt | pointer to the Packet |
Definition at line 496 of file mem_ctrl.hh.
References _system, gem5::curTick(), DPRINTF, escalate(), gem5::System::getRequestorName(), numPriorities(), qosPriorityEscalation, qosSyncroScheduler, gem5::Packet::qosValue(), gem5::Packet::requestorId(), requestors, schedule(), and serviceTick.
Referenced by gem5::memory::qos::MemSinkCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
|
protected |
Record statistics on turnarounds based on busStateNext and busState values.
Definition at line 359 of file mem_ctrl.cc.
References busState, busStateNext, gem5::memory::qos::MemCtrl::MemCtrlStats::numReadWriteTurnArounds, gem5::memory::qos::MemCtrl::MemCtrlStats::numStayReadState, gem5::memory::qos::MemCtrl::MemCtrlStats::numStayWriteState, gem5::memory::qos::MemCtrl::MemCtrlStats::numWriteReadTurnArounds, READ, stats, and WRITE.
Referenced by gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), and gem5::memory::MemCtrl::processNextReqEvent().
|
protected |
Definition at line 232 of file mem_ctrl.cc.
References DPRINTF, gem5::Packet::getSize(), policy, gem5::Packet::qosValue(), gem5::Packet::req, and schedule().
|
protected |
Definition at line 218 of file mem_ctrl.cc.
References data, DPRINTF, and policy.
Referenced by gem5::memory::MemCtrl::addToReadQueue(), gem5::memory::MemCtrl::addToWriteQueue(), gem5::memory::MemCtrl::drain(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processRespondEvent(), qosSchedule(), gem5::memory::qos::MemSinkCtrl::recvTimingReq(), gem5::memory::MemCtrl::restartScheduler(), and schedule().
|
protected |
Returns next bus direction (READ or WRITE) based on configured policy.
Definition at line 247 of file mem_ctrl.cc.
References DPRINTF, getBusState(), getTotalReadQueueSize(), getTotalWriteQueueSize(), READ, turnPolicy, and WRITE.
Referenced by gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), and gem5::memory::MemCtrl::processNextReqEvent().
|
inlineprotected |
Set current bus direction (READ or WRITE) from next selected one.
Definition at line 240 of file mem_ctrl.hh.
References busState, and busStateNext.
Referenced by gem5::memory::qos::MemSinkCtrl::processNextReqEvent().
|
inline |
read the system pointer
Definition at line 371 of file mem_ctrl.hh.
References _system.
Referenced by gem5::memory::MemCtrl::drainResume(), gem5::memory::qos::PropFairPolicy::initRequestor(), gem5::memory::qos::Policy::pair(), gem5::memory::qos::MemCtrl::MemCtrlStats::regStats(), gem5::memory::qos::FixedPriorityPolicy::schedule(), and gem5::memory::MemCtrl::startup().
|
protected |
Number of configured QoS priorities.
Definition at line 97 of file mem_ctrl.hh.
Referenced by MemCtrl(), and numPriorities().
|
protected |
Pointer to the System object.
Definition at line 176 of file mem_ctrl.hh.
Referenced by addRequestor(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), qosSchedule(), gem5::memory::qos::MemSinkCtrl::recvTimingReq(), and system().
|
protected |
Bus state used to control the read/write switching and drive the scheduling of the next request.
Definition at line 140 of file mem_ctrl.hh.
Referenced by getBusState(), gem5::memory::MemCtrl::inReadBusState(), gem5::memory::MemCtrl::inWriteBusState(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processNextReqEvent(), recordTurnaroundStats(), and setCurrentBusState().
|
protected |
bus state for next request event triggered
Definition at line 143 of file mem_ctrl.hh.
Referenced by getBusStateNext(), gem5::memory::MemCtrl::inReadBusState(), gem5::memory::MemCtrl::inWriteBusState(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processNextReqEvent(), recordTurnaroundStats(), and setCurrentBusState().
|
protected |
Hash of requestors - number of packets queued per priority.
Definition at line 112 of file mem_ctrl.hh.
Referenced by addRequestor(), escalate(), escalateQueues(), logRequest(), and logResponse().
|
protected |
QoS Policy, assigns QoS priority to the incoming packets.
Definition at line 88 of file mem_ctrl.hh.
Referenced by MemCtrl(), and schedule().
|
protected |
Enables QoS priority escalation.
Definition at line 100 of file mem_ctrl.hh.
Referenced by qosSchedule().
|
protected |
Enables QoS synchronized scheduling invokes the QoS scheduler on all requestors, at every packet arrival.
Definition at line 106 of file mem_ctrl.hh.
Referenced by qosSchedule().
|
protected |
QoS Queue Policy: selects packet among same-priority queue.
Definition at line 94 of file mem_ctrl.hh.
Referenced by MemCtrl(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), and gem5::memory::qos::MemSinkCtrl::recvTimingReq().
|
protected |
Read request packets queue length in #packets, per QoS priority.
Definition at line 125 of file mem_ctrl.hh.
Referenced by escalate(), escalateQueues(), getReadQueueSize(), logRequest(), logResponse(), MemCtrl(), and gem5::memory::qos::MemSinkCtrl::processNextReqEvent().
|
protected |
Hash of requestor ID - requestor name.
Definition at line 109 of file mem_ctrl.hh.
Referenced by addRequestor(), escalate(), escalateQueues(), hasRequestor(), logRequest(), logResponse(), and qosSchedule().
|
protected |
Hash of requestors - address of request - queue of times of request.
Definition at line 116 of file mem_ctrl.hh.
Referenced by logRequest(), and logResponse().
|
protected |
Vector of QoS priorities/last service time.
Refreshed at every qosSchedule call.
Definition at line 122 of file mem_ctrl.hh.
Referenced by getServiceTick(), MemCtrl(), and qosSchedule().
|
protected |
Referenced by logRequest(), logResponse(), and recordTurnaroundStats().
|
protected |
Total read request packets queue length in #packets.
Definition at line 131 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue(), gem5::memory::qos::MemSinkCtrl::drain(), gem5::memory::MemCtrl::drain(), getTotalReadQueueSize(), logRequest(), logResponse(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processRespondEvent(), gem5::memory::qos::MemSinkCtrl::readQueueFull(), and gem5::memory::MemCtrl::readQueueFull().
|
protected |
Total write request packets queue length in #packets.
Definition at line 134 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue(), gem5::memory::qos::MemSinkCtrl::drain(), gem5::memory::MemCtrl::drain(), getTotalWriteQueueSize(), logRequest(), logResponse(), gem5::memory::qos::MemSinkCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processNextReqEvent(), gem5::memory::MemCtrl::processRespondEvent(), gem5::memory::qos::MemSinkCtrl::writeQueueFull(), and gem5::memory::MemCtrl::writeQueueFull().
|
protected |
QoS Bus Turnaround Policy: selects the bus direction (READ/WRITE)
Definition at line 91 of file mem_ctrl.hh.
Referenced by MemCtrl(), gem5::memory::MemCtrl::processNextReqEvent(), and selectNextBusState().
|
protected |
Write request packets queue length in #packets, per QoS priority.
Definition at line 128 of file mem_ctrl.hh.
Referenced by escalate(), escalateQueues(), getWriteQueueSize(), logRequest(), logResponse(), MemCtrl(), and gem5::memory::qos::MemSinkCtrl::processNextReqEvent().