Charades
Public Attributes | List of all members
Globals Class Reference

PE-level variables which may change over time. More...

#include <globals.h>

Public Attributes

Time g_last_gvt
 Last computed GVT, used for rollbacks. More...
 
Eventabort_event
 Sentinel event signifying some kind of error. More...
 
EventBufferevent_buffer
 Buffer of pre-allocated events for entire simulation. More...
 
AvlTree avl_list_head
 Hash table for events received remotely in optimistic execution. More...
 

Detailed Description

PE-level variables which may change over time.

Member Data Documentation

◆ abort_event

Event* Globals::abort_event

Sentinel event signifying some kind of error.

Todo:
Is this the best place to store this?

◆ avl_list_head

AvlTree Globals::avl_list_head

Hash table for events received remotely in optimistic execution.

Todo:

Can this go in the LP class for smaller hash tables?

Can this be changed to an unordered_map?

◆ event_buffer

EventBuffer* Globals::event_buffer

Buffer of pre-allocated events for entire simulation.

Todo:
Can probably be moved to scheduler, which will handle event allocation and management.

◆ g_last_gvt

Time Globals::g_last_gvt

Last computed GVT, used for rollbacks.

Todo:
This should be moved to GVT base class probably

The documentation for this class was generated from the following file: