12 #ifndef SST_CORE_IMPL_TIMEVORTEX_TIMEVORTEXPQ_H
13 #define SST_CORE_IMPL_TIMEVORTEX_TIMEVORTEXPQ_H
19 #include "sst/core/timeVortex.h"
20 #include "sst/core/eli/elementinfo.h"
35 SST_ELI_REGISTER_DERIVED(
39 "timevortex.priority_queue",
40 SST_ELI_ELEMENT_VERSION(1,0,0),
41 "TimeVortex based on std::priority_queue.")
49 bool empty()
override;
58 uint64_t getCurrentDepth()
const override {
return current_depth; }
59 uint64_t getMaxDepth()
const override {
return max_depth; }
62 #ifdef SST_ENFORCE_EVENT_ORDERING
70 uint64_t current_depth;
78 #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:54
void print(Output &out) const override
Print the state of the TimeVortex.
Definition: timeVortexPQ.cc:77
Activity * pop() override
Remove and return the next activity.
Definition: timeVortexPQ.cc:62
Base class for all Activities in the SST Event Queue.
Definition: activity.h:52
void insert(Activity *activity) override
Insert a new activity into the queue.
Definition: timeVortexPQ.cc:52
Primary Event Queue.
Definition: timeVortex.h:25
Primary Event Queue.
Definition: timeVortexPQ.h:32
int size() override
Returns the number of activities in the queue.
Definition: timeVortexPQ.cc:47
Activity * front() override
Returns the next activity.
Definition: timeVortexPQ.cc:72
To use with STL priority queues, that order in reverse.
Definition: activity.h:95
Parameter store.
Definition: params.h:44
To use with STL priority queues, that order in reverse.
Definition: activity.h:154
bool empty() override
Returns true if the queue is empty.
Definition: timeVortexPQ.cc:42