133 if (globalBarrier()) {
147 if (globalBarrier()) {
148 _globalEvent->process();
168 return "GlobalSyncEvent";
BaseGlobalEvent * _globalEvent
virtual ~BaseGlobalEvent()
BaseGlobalEvent(Priority p, Flags f)
static std::mutex globalQMutex
Mutex variable for providing exculsive right to schedule global events.
std::vector< BarrierEvent * > barrierEvent
The individual local event instances (one per thread/event queue).
void reschedule(Tick when)
static const FlagsType AutoDelete
Queue of events sorted in time order.
void handleAsyncInsertions()
Function for moving events from the async_queue to the main queue.
bool isFlagSet(Flags _flags) const
const char * description() const
Global events and related declarations.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Tick curTick()
The universal simulation clock.
uint64_t Tick
Tick count type.
uint32_t numMainEventQueues
Current number of allocated main event queues.
EventQueue * curEventQueue()
std::vector< EventQueue * > mainEventQueue
Array for main event queues.