#include <seq.h>
Public Member Functions | |
seq () | |
void | initSync () |
Initialize synchronization strategy type (optimistic or conservative). | |
virtual void | Step () |
Strategy-specific forward execution step. |
Definition at line 6 of file seq.h.
seq::seq | ( | ) | [inline] |
void seq::initSync | ( | ) | [inline, virtual] |
Initialize synchronization strategy type (optimistic or conservative).
Reimplemented from strat.
Definition at line 14 of file seq.h.
References strat::parent, and sim::sync.
void seq::Step | ( | ) | [virtual] |
Strategy-specific forward execution step.
Code here MUST be overridden, but this gives a basic idea of how a forward execution step should go. Strategies must determine if it is safe to execute an event.
Reimplemented from strat.
Definition at line 5 of file seq.C.
References POSE_Config::checkpoint_gvt_interval, POSE_Config::checkpoint_time_interval, CmiWallTimer(), eventQueue::CommitDoneEvents(), strat::currentEvent, eventQueue::currentPtr, Event::done, strat::eq, Event::fnIdx, Event::msg, rep::myHandle, rep::OVT(), strat::parent, pose_config, POSE_GlobalClock, POSE_GlobalTS, POSE_Skipped_Events, sim::ResolveFn(), seqCheckpointInProgress, seqLastCheckpointGVT, seqLastCheckpointTime, seqStartTime, eventQueue::ShiftEvent(), Skipped_Event::simIndex, Skipped_Event::timestamp, Event::timestamp, eventQueue::tsOfLastInserted, and strat::userObj.