SST 15.0
Structural Simulation Toolkit
|
#include <timeVortex.h>
Public Member Functions | |
virtual bool | empty () override=0 |
Returns true if the queue is empty. | |
virtual int | size () override=0 |
Returns the number of activities in the queue. | |
virtual void | insert (Activity *activity) override=0 |
Insert a new activity into the queue. | |
virtual Activity * | pop () override=0 |
Remove and return the next activity. | |
virtual Activity * | front () override=0 |
Returns the next activity. | |
virtual void | print (Output &out) const =0 |
Print the state of the TimeVortex. | |
virtual uint64_t | getMaxDepth () const |
virtual uint64_t | getCurrentDepth () const =0 |
virtual void | dbg_print (Output &out) |
virtual void | serialize_order (SST::Core::Serialization::serializer &ser) |
virtual void | fixup_handlers () |
Protected Member Functions | |
void | fixup (Activity *act) |
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 >.
|
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 |
|
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 >.