SST 12.1.0
Structural Simulation Toolkit
|
#include <timeVortex.h>
Public Member Functions | |
virtual bool | empty () override=0 |
Returns true if the queue is empty. More... | |
virtual int | size () override=0 |
Returns the number of activities in the queue. More... | |
virtual void | insert (Activity *activity) override=0 |
Insert a new activity into the queue. More... | |
virtual Activity * | pop () override=0 |
Remove and return the next activity. More... | |
virtual Activity * | front () override=0 |
Returns the next activity. More... | |
virtual void | print (Output &out) const =0 |
Print the state of the TimeVortex. More... | |
virtual uint64_t | getMaxDepth () const |
virtual uint64_t | getCurrentDepth () const =0 |
virtual bool | empty ()=0 |
Returns true if the queue is empty. More... | |
virtual int | size ()=0 |
Returns the number of activities in the queue. More... | |
virtual Activity * | pop ()=0 |
Remove and return the next activity. More... | |
virtual void | insert (Activity *activity)=0 |
Insert a new activity into the queue. More... | |
virtual Activity * | front ()=0 |
Returns the next activity. More... | |
Protected Attributes | |
uint64_t | max_depth |
Primary Event Queue.
|
overridepure virtual |
Returns true if the queue is empty.
Implements SST::ActivityQueue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, and SST::IMPL::TimeVortexPQBase< true >.
|
overridepure virtual |
Returns the next activity.
Implements SST::ActivityQueue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, and SST::IMPL::TimeVortexPQBase< true >.
|
overridepure virtual |
Insert a new activity into the queue.
Implements SST::ActivityQueue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, and SST::IMPL::TimeVortexPQBase< true >.
Referenced by SST::Simulation_impl::insertActivity(), and SST::Simulation_impl::setStopAtCycle().
|
overridepure virtual |
Remove and return the next activity.
Implements SST::ActivityQueue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, and SST::IMPL::TimeVortexPQBase< true >.
|
pure virtual |
Print the state of the TimeVortex.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, and SST::IMPL::TimeVortexPQBase< true >.
Referenced by SST::Simulation_impl::printStatus().
|
overridepure virtual |
Returns the number of activities in the queue.
Implements SST::ActivityQueue.
Implemented in SST::IMPL::TimeVortexBinnedMapBase< TS >, SST::IMPL::TimeVortexBinnedMapBase< false >, SST::IMPL::TimeVortexBinnedMapBase< true >, SST::IMPL::TimeVortexPQBase< TS >, SST::IMPL::TimeVortexPQBase< false >, and SST::IMPL::TimeVortexPQBase< true >.