gem5
v20.1.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? More... | |
virtual void | reserve ()=0 |
Reserve a slot in whatever structure this is attached to. More... | |
virtual void | freeReservation ()=0 |
Free a reserved slot. More... | |
virtual | ~Reservable () |
Base class for space reservation requestable objects.
Definition at line 371 of file buffers.hh.
|
inlinevirtual |
Definition at line 383 of file buffers.hh.
|
pure virtual |
Can a slot be reserved?
Implemented in Minor::InputBuffer< ElemType, ReportTraits, BubbleTraits >, and Minor::Queue< ElemType, ReportTraits, BubbleTraits >.
|
pure virtual |
Free a reserved slot.
Implemented in Minor::InputBuffer< ElemType, ReportTraits, BubbleTraits >, Minor::InputBuffer< Minor::ForwardLineData >, Minor::InputBuffer< Minor::ForwardInstData >, Minor::Queue< ElemType, ReportTraits, BubbleTraits >, Minor::Queue< ElemType, ReportTraitsAdaptor< ElemType >, BubbleTraitsAdaptor< ElemType > >, Minor::Queue< Minor::ForwardLineData, ReportTraitsAdaptor< Minor::ForwardLineData >, BubbleTraitsAdaptor< Minor::ForwardLineData > >, Minor::Queue< FetchRequestPtr, ReportTraitsPtrAdaptor< FetchRequestPtr >, NoBubbleTraits< FetchRequestPtr > >, Minor::Queue< Minor::QueuedInst, Minor::ReportTraitsAdaptor< Minor::QueuedInst > >, Minor::Queue< LSQRequestPtr, ReportTraitsPtrAdaptor< LSQRequestPtr >, NoBubbleTraits< LSQRequestPtr > >, and Minor::Queue< Minor::ForwardInstData, ReportTraitsAdaptor< Minor::ForwardInstData >, BubbleTraitsAdaptor< Minor::ForwardInstData > >.
|
pure virtual |
Reserve a slot in whatever structure this is attached to.
Implemented in Minor::InputBuffer< ElemType, ReportTraits, BubbleTraits >, Minor::InputBuffer< Minor::ForwardLineData >, Minor::InputBuffer< Minor::ForwardInstData >, Minor::Queue< ElemType, ReportTraits, BubbleTraits >, Minor::Queue< ElemType, ReportTraitsAdaptor< ElemType >, BubbleTraitsAdaptor< ElemType > >, Minor::Queue< Minor::ForwardLineData, ReportTraitsAdaptor< Minor::ForwardLineData >, BubbleTraitsAdaptor< Minor::ForwardLineData > >, Minor::Queue< FetchRequestPtr, ReportTraitsPtrAdaptor< FetchRequestPtr >, NoBubbleTraits< FetchRequestPtr > >, Minor::Queue< Minor::QueuedInst, Minor::ReportTraitsAdaptor< Minor::QueuedInst > >, Minor::Queue< LSQRequestPtr, ReportTraitsPtrAdaptor< LSQRequestPtr >, NoBubbleTraits< LSQRequestPtr > >, and Minor::Queue< Minor::ForwardInstData, ReportTraitsAdaptor< Minor::ForwardInstData >, BubbleTraitsAdaptor< Minor::ForwardInstData > >.