gem5 v24.0.0.0
|
Base class for space reservation requestable objects. More...
#include <buffers.hh>
Public Member Functions | |
virtual bool | canReserve () const =0 |
Can a slot be reserved? | |
virtual void | reserve ()=0 |
Reserve a slot in whatever structure this is attached to. | |
virtual void | freeReservation ()=0 |
Free a reserved slot. | |
virtual | ~Reservable () |
Base class for space reservation requestable objects.
Definition at line 377 of file buffers.hh.
|
inlinevirtual |
Definition at line 389 of file buffers.hh.
|
pure virtual |
Can a slot be reserved?
Implemented in gem5::minor::InputBuffer< ElemType, ReportTraits, BubbleTraits >, gem5::minor::InputBuffer< gem5::minor::ForwardInstData >, gem5::minor::InputBuffer< gem5::minor::ForwardLineData >, gem5::minor::Queue< ElemType, ReportTraits, BubbleTraits >, gem5::minor::Queue< ElemType, ReportTraitsAdaptor< ElemType >, BubbleTraitsAdaptor< ElemType > >, gem5::minor::Queue< FetchRequestPtr, ReportTraitsPtrAdaptor< FetchRequestPtr >, NoBubbleTraits< FetchRequestPtr > >, gem5::minor::Queue< gem5::minor::ForwardInstData, ReportTraitsAdaptor< gem5::minor::ForwardInstData >, BubbleTraitsAdaptor< gem5::minor::ForwardInstData > >, gem5::minor::Queue< gem5::minor::ForwardLineData, ReportTraitsAdaptor< gem5::minor::ForwardLineData >, BubbleTraitsAdaptor< gem5::minor::ForwardLineData > >, gem5::minor::Queue< gem5::minor::QueuedInst, gem5::minor::ReportTraitsAdaptor< gem5::minor::QueuedInst > >, and gem5::minor::Queue< LSQRequestPtr, ReportTraitsPtrAdaptor< LSQRequestPtr >, NoBubbleTraits< LSQRequestPtr > >.
|
pure virtual |
Free a reserved slot.
Implemented in gem5::minor::InputBuffer< ElemType, ReportTraits, BubbleTraits >, gem5::minor::InputBuffer< gem5::minor::ForwardInstData >, gem5::minor::InputBuffer< gem5::minor::ForwardLineData >, gem5::minor::Queue< ElemType, ReportTraits, BubbleTraits >, gem5::minor::Queue< ElemType, ReportTraitsAdaptor< ElemType >, BubbleTraitsAdaptor< ElemType > >, gem5::minor::Queue< FetchRequestPtr, ReportTraitsPtrAdaptor< FetchRequestPtr >, NoBubbleTraits< FetchRequestPtr > >, gem5::minor::Queue< gem5::minor::ForwardInstData, ReportTraitsAdaptor< gem5::minor::ForwardInstData >, BubbleTraitsAdaptor< gem5::minor::ForwardInstData > >, gem5::minor::Queue< gem5::minor::ForwardLineData, ReportTraitsAdaptor< gem5::minor::ForwardLineData >, BubbleTraitsAdaptor< gem5::minor::ForwardLineData > >, gem5::minor::Queue< gem5::minor::QueuedInst, gem5::minor::ReportTraitsAdaptor< gem5::minor::QueuedInst > >, and gem5::minor::Queue< LSQRequestPtr, ReportTraitsPtrAdaptor< LSQRequestPtr >, NoBubbleTraits< LSQRequestPtr > >.
|
pure virtual |
Reserve a slot in whatever structure this is attached to.
Implemented in gem5::minor::InputBuffer< ElemType, ReportTraits, BubbleTraits >, gem5::minor::InputBuffer< gem5::minor::ForwardInstData >, gem5::minor::InputBuffer< gem5::minor::ForwardLineData >, gem5::minor::Queue< ElemType, ReportTraits, BubbleTraits >, gem5::minor::Queue< ElemType, ReportTraitsAdaptor< ElemType >, BubbleTraitsAdaptor< ElemType > >, gem5::minor::Queue< FetchRequestPtr, ReportTraitsPtrAdaptor< FetchRequestPtr >, NoBubbleTraits< FetchRequestPtr > >, gem5::minor::Queue< gem5::minor::ForwardInstData, ReportTraitsAdaptor< gem5::minor::ForwardInstData >, BubbleTraitsAdaptor< gem5::minor::ForwardInstData > >, gem5::minor::Queue< gem5::minor::ForwardLineData, ReportTraitsAdaptor< gem5::minor::ForwardLineData >, BubbleTraitsAdaptor< gem5::minor::ForwardLineData > >, gem5::minor::Queue< gem5::minor::QueuedInst, gem5::minor::ReportTraitsAdaptor< gem5::minor::QueuedInst > >, and gem5::minor::Queue< LSQRequestPtr, ReportTraitsPtrAdaptor< LSQRequestPtr >, NoBubbleTraits< LSQRequestPtr > >.