SST 16.0.0
Structural Simulation Toolkit
SST::IMPL::TimeVortexPQBase< TS > Class Template Reference

Primary Event Queue. More...

#include <timeVortexPQ.h>

Inheritance diagram for SST::IMPL::TimeVortexPQBase< TS >:
SST::TimeVortex SST::ActivityQueue

Public Member Functions

 TimeVortexPQBase (Params &params)
bool empty () override
 Returns true if the queue is empty.
int size () override
 Returns the number of activities in the queue.
void insert (Activity *activity) override
 Insert a new activity into the queue.
Activitypop () override
 Remove and return the next activity.
Activityfront () override
 Returns the next activity.
uint64_t getCurrentDepth () const override
uint64_t getMaxDepth () const override
void dbg_print (Output &out) const override
void getContents (std::vector< Activity * > &activities) const override
 Get a copy of the contents of the TimeVortex.
Public Member Functions inherited from SST::TimeVortex
virtual void print (Output &out) const
 Print the state of the TimeVortex.
virtual void serialize_order (SST::Core::Serialization::serializer &ser)

Additional Inherited Members

Protected Attributes inherited from SST::TimeVortex
uint64_t max_depth

Detailed Description

template<bool TS>
class SST::IMPL::TimeVortexPQBase< TS >

Primary Event Queue.

Member Function Documentation

◆ dbg_print()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< TS >::dbg_print ( Output & out) const
overridevirtual

Reimplemented from SST::TimeVortex.

◆ empty()

template<bool TS>
bool SST::IMPL::TimeVortexPQBase< TS >::empty ( )
overridevirtual

Returns true if the queue is empty.

Implements SST::TimeVortex.

References empty().

Referenced by empty().

◆ front()

template<bool TS>
Activity * SST::IMPL::TimeVortexPQBase< TS >::front ( )
overridevirtual

Returns the next activity.

Implements SST::TimeVortex.

References front().

Referenced by front().

◆ getContents()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< TS >::getContents ( std::vector< Activity * > & activities) const
overridevirtual

Get a copy of the contents of the TimeVortex.

Returns
vector with a copy of the contents

Implements SST::TimeVortex.

References getContents().

Referenced by getContents().

◆ getCurrentDepth()

template<bool TS>
uint64_t SST::IMPL::TimeVortexPQBase< TS >::getCurrentDepth ( ) const
inlineoverridevirtual

Implements SST::TimeVortex.

◆ getMaxDepth()

template<bool TS>
uint64_t SST::IMPL::TimeVortexPQBase< TS >::getMaxDepth ( ) const
inlineoverridevirtual

Reimplemented from SST::TimeVortex.

◆ insert()

template<bool TS>
void SST::IMPL::TimeVortexPQBase< TS >::insert ( Activity * activity)
overridevirtual

Insert a new activity into the queue.

Implements SST::TimeVortex.

References insert(), and SST::Activity::setQueueOrder().

Referenced by insert().

◆ pop()

template<bool TS>
Activity * SST::IMPL::TimeVortexPQBase< TS >::pop ( )
overridevirtual

Remove and return the next activity.

Implements SST::TimeVortex.

References pop().

Referenced by pop().

◆ size()

template<bool TS>
int SST::IMPL::TimeVortexPQBase< TS >::size ( )
overridevirtual

Returns the number of activities in the queue.

Implements SST::TimeVortex.

References size().

Referenced by size().


The documentation for this class was generated from the following files:
  • src/sst/core/impl/timevortex/timeVortexPQ.h
  • src/sst/core/impl/timevortex/timeVortexPQ.cc