43 extern double g_tw_reserve_threshold;
44 extern uint32_t g_tw_reserve_buckets;
45 extern uint32_t g_tw_adaptive_buckets;
46 extern uint32_t g_tw_clear_lag;
47 extern uint32_t g_tw_clear_buckets;
51 extern uint32_t g_tw_ldb_continuous;
111 #define PE_VALUE(x) get_globals()->x PE-level variables which may change over time.
Definition: globals.h:76
LPMapper * g_lp_mapper
mapper for placing and locating LPs
Definition: globals.C:18
AvlTree avl_list_head
Hash table for events received remotely in optimistic execution.
Definition: globals.h:99
void clear_globals()
sets all global variables to default values
Definition: globals.C:79
unsigned g_tw_ldb_metric
metric used to measure LP load
Definition: globals.C:57
unsigned g_tw_async_reduction
use asynchronous reductions in GVTs
Definition: globals.C:43
long int g_tw_expected_events
expected number of committed events
Definition: globals.C:72
unsigned g_total_lps
total number of LPs
Definition: globals.C:14
unsigned g_tw_metric_invert
whether or not to invert metric
Definition: globals.C:59
EventBuffer * event_buffer
Buffer of pre-allocated events for entire simulation.
Definition: globals.h:93
Globals * get_globals()
returns a pointer to the local Globals object
Definition: globals.C:119
Definition: event_buffer.h:8
unsigned g_tw_ldb_interval
number of intervals to wait before lb
Definition: globals.C:55
unsigned g_tw_gvt_phases
number of phases in a phased gvt
Definition: globals.C:41
unsigned g_tw_synchronization_protocol
scheduler type
Definition: globals.C:31
LPFactory * g_lp_factory
factory for creating LPs based on global id
Definition: globals.C:19
char g_output_dir[256]
output directory for extra logging
Definition: globals.C:69
Base class which defines the mapper interface used during simulation setup.
Definition: mapper.h:7
unsigned g_tw_max_ldb
max number of times to call lb
Definition: globals.C:56
unsigned g_tw_gvt_interval
distance between GVT calls
Definition: globals.C:39
Time g_tw_lookahead
event lookahead (conservative)
Definition: globals.C:24
uint32_t g_tw_ldb_first
first interval to call lb
Definition: globals.C:54
unsigned g_tw_metric_ts_abs
use absolute time or not
Definition: globals.C:58
unsigned g_tw_stat_interval
frequency of logging stats (in GVTs)
Definition: globals.C:71
uint32_t g_num_msg_types
number of message types
Definition: globals.C:25
Event * abort_event
Sentinel event signifying some kind of error.
Definition: globals.h:87
unsigned g_tw_gvt_trigger
unit of the GVT interval (time or events)
Definition: globals.C:40
unsigned g_num_chares
total number of chares
Definition: globals.C:15
unsigned g_tw_gvt_bucket_size
size of each bucket in a bucketed gvt
Definition: globals.C:42
unsigned gvt_print_interval
frequency of progress print outs
Definition: globals.C:70
unsigned g_tw_mblock
batch size for event execution
Definition: globals.C:32
Declares most types used within the simulator and by models.
unsigned g_tw_rng_default
Definition: globals.C:64
Base class which defines the factory interface used during simulation setup.
Definition: factory.h:7
Time g_last_gvt
Last computed GVT, used for rollbacks.
Definition: globals.h:82
unsigned g_tw_gvt_scheme
GVT algorithm.
Definition: globals.C:38
uint32_t g_event_buffer_size
event buffer size
Definition: globals.C:26
Time g_tw_ts_end
end time of simulation
Definition: globals.C:33
unsigned g_lps_per_chare
number of LPs per chare (if constant)
Definition: globals.C:16