12 #ifndef SST_CORE_IMPL_TIMEVORTEX_TIMEVORTEXPQ_H
13 #define SST_CORE_IMPL_TIMEVORTEX_TIMEVORTEXPQ_H
15 #include "sst/core/eli/elementinfo.h"
16 #include "sst/core/timeVortex.h"
40 bool empty()
override;
49 uint64_t getCurrentDepth()
const override {
return current_depth; }
50 uint64_t getMaxDepth()
const override {
return max_depth; }
63 typename std::conditional<TS, std::atomic<uint64_t>, uint64_t>::type current_depth;
72 #endif // SST_CORE_IMPL_TIMEVORTEX_TIMEVORTEXPQ_H
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:51
void insert(Activity *activity) override
Insert a new activity into the queue.
Definition: timeVortexPQ.cc:64
Base class for all Activities in the SST Event Queue.
Definition: activity.h:46
Primary Event Queue.
Definition: timeVortex.h:25
Activity * pop() override
Remove and return the next activity.
Definition: timeVortexPQ.cc:76
int size() override
Returns the number of activities in the queue.
Definition: timeVortexPQ.cc:54
Primary Event Queue.
Definition: timeVortexPQ.h:32
Definition: threadsafe.h:121
void print(Output &out) const override
Print the state of the TimeVortex.
Definition: timeVortexPQ.cc:99
Class to use as the greater than operator for STL functions or sorting algorithms (used if you want t...
Definition: activity.h:103
Parameter store.
Definition: params.h:55
bool empty() override
Returns true if the queue is empty.
Definition: timeVortexPQ.cc:44
Activity * front() override
Returns the next activity.
Definition: timeVortexPQ.cc:89