ROSS
Variables
ross-global.c File Reference
#include <ross.h>

Go to the source code of this file.

Variables

tw_synch g_tw_synchronization_protocol =NO_SYNCH
 
map_local_f g_tw_custom_lp_global_to_local_map =NULL
 
map_custom_f g_tw_custom_initial_mapping =NULL
 
tw_lp_map g_tw_mapping =LINEAR
 
tw_lpid g_tw_nlp = 0
 
tw_lpid g_tw_lp_offset = 0
 
tw_kpid g_tw_nkp = 1
 
tw_lp ** g_tw_lp = NULL
 
tw_kp ** g_tw_kp = NULL
 
int g_tw_fossil_attempts = 0
 
unsigned int g_tw_nRNG_per_lp = 1
 
tw_lpid g_tw_rng_default = 1
 
tw_seed g_tw_rng_seed = NULL
 
unsigned int g_tw_sim_started = 0
 
size_t g_tw_msg_sz
 
size_t g_tw_delta_sz = 0
 
uint32_t g_tw_buddy_alloc = 0
 
buddy_list_bucket_tg_tw_buddy_master = 0
 
uint32_t g_tw_avl_node_count = 18
 
unsigned int g_tw_lz4_knob = 17
 
size_t g_tw_event_msg_sz = 0
 
double g_tw_lookahead =0.005
 
double g_tw_min_detected_offset =DBL_MAX
 
unsigned int g_tw_mblock = 16
 
unsigned int g_tw_gvt_interval = 16
 
unsigned long long g_tw_max_opt_lookahead = ULLONG_MAX
 
unsigned long long g_tw_gvt_realtime_interval
 
unsigned long long g_tw_gvt_interval_start_cycles = 0
 
double g_tw_ts_end = 100000.0
 
tw_peg_tw_pe = NULL
 
unsigned int g_tw_events_per_pe = 2048
 
unsigned int g_tw_events_per_pe_extra = 0
 
unsigned int g_tw_gvt_threshold = 1000
 
unsigned int g_tw_gvt_done = 0
 
unsigned int g_tw_net_device_size = 0
 
tw_peid g_tw_mynode = 0
 
tw_peid g_tw_masternode = 0
 
FILE * g_tw_csv = NULL
 
unsigned long long g_tw_clock_rate =1000000000.0
 
tw_lptypeg_tw_lp_types = NULL
 
tw_typemap_f g_tw_lp_typemap = &map_onetype
 

Variable Documentation

uint32_t g_tw_avl_node_count = 18

Definition at line 37 of file ross-global.c.

Referenced by avl_alloc(), avlInsert(), and tw_hash_create().

uint32_t g_tw_buddy_alloc = 0

Allocation for buddy system

Definition at line 35 of file ross-global.c.

Referenced by setup_pes().

buddy_list_bucket_t* g_tw_buddy_master = 0

Definition at line 36 of file ross-global.c.

Referenced by buddy_alloc(), buddy_free(), buddy_try_merge(), and setup_pes().

unsigned long long g_tw_clock_rate =1000000000.0
FILE* g_tw_csv = NULL
map_custom_f g_tw_custom_initial_mapping =NULL

Definition at line 20 of file ross-global.c.

Referenced by tw_define_lps().

map_local_f g_tw_custom_lp_global_to_local_map =NULL

Definition at line 19 of file ross-global.c.

Referenced by io_event_deserialize(), and tw_getlocal_lp().

size_t g_tw_delta_sz = 0

Definition at line 34 of file ross-global.c.

Referenced by tw_delta_alloc(), tw_lp_settype(), and tw_snapshot_delta().

size_t g_tw_event_msg_sz = 0

Definition at line 43 of file ross-global.c.

Referenced by tw_eventq_alloc().

unsigned int g_tw_events_per_pe = 2048

Definition at line 76 of file ross-global.c.

Referenced by main(), setup_pes(), tw_eventq_alloc(), and tw_stats().

unsigned int g_tw_events_per_pe_extra = 0

Number of extra events allocated per PE. Command-line customizable.

Definition at line 78 of file ross-global.c.

Referenced by setup_pes(), and tw_stats().

int g_tw_fossil_attempts = 0

Definition at line 28 of file ross-global.c.

Referenced by tw_get_stats(), and tw_pe_fossil_collect().

unsigned int g_tw_gvt_done = 0
unsigned int g_tw_gvt_interval = 16
unsigned long long g_tw_gvt_interval_start_cycles = 0
unsigned long long g_tw_gvt_realtime_interval
unsigned int g_tw_gvt_threshold = 1000
tw_kp** g_tw_kp = NULL
double g_tw_lookahead =0.005

Definition at line 49 of file ross-global.c.

Referenced by io_load_events(), main(), tw_event_send(), and tw_scheduler_conservative().

tw_lp** g_tw_lp = NULL
tw_lpid g_tw_lp_offset = 0

Definition at line 24 of file ross-global.c.

Referenced by io_event_deserialize(), map_linear(), and tw_getlocal_lp().

tw_typemap_f g_tw_lp_typemap = &map_onetype

Definition at line 102 of file ross-global.c.

Referenced by io_store_checkpoint(), st_model_setup_types(), and tw_lp_setup_types().

tw_lptype* g_tw_lp_types = NULL

Definition at line 101 of file ross-global.c.

Referenced by tw_lp_setup_types().

unsigned int g_tw_lz4_knob = 17

Tunable LZ4 param. Higher = faster with less compression. 17 is a good value for speed with 1 being the default value.

Definition at line 41 of file ross-global.c.

Referenced by tw_snapshot_delta().

tw_lp_map g_tw_mapping =LINEAR

Definition at line 21 of file ross-global.c.

Referenced by io_event_deserialize(), setup_pes(), tw_define_lps(), and tw_getlocal_lp().

tw_peid g_tw_masternode = 0
unsigned long long g_tw_max_opt_lookahead = ULLONG_MAX

Definition at line 64 of file ross-global.c.

Referenced by tw_gvt_step1(), and tw_gvt_step1_realtime().

unsigned int g_tw_mblock = 16

Number of messages to process at once out of the PQ before returning back to handling things like GVT, message recption, etc. AKA the "batch" parameter to ROSS.

Definition at line 62 of file ross-global.c.

Referenced by tw_gvt_stats(), tw_sched_batch(), tw_sched_batch_realtime(), and tw_scheduler_conservative().

double g_tw_min_detected_offset =DBL_MAX

Definition at line 55 of file ross-global.c.

Referenced by tw_event_new(), and tw_get_stats().

size_t g_tw_msg_sz
tw_peid g_tw_mynode = 0
unsigned int g_tw_net_device_size = 0

Definition at line 87 of file ross-global.c.

Referenced by tw_eventq_alloc(), and tw_net_start().

tw_kpid g_tw_nkp = 1
tw_lpid g_tw_nlp = 0
unsigned int g_tw_nRNG_per_lp = 1
tw_pe* g_tw_pe = NULL
tw_lpid g_tw_rng_default = 1

Definition at line 30 of file ross-global.c.

Referenced by tw_define_lps().

tw_seed g_tw_rng_seed = NULL

Definition at line 31 of file ross-global.c.

Referenced by rng_init().

unsigned int g_tw_sim_started = 0

Definition at line 32 of file ross-global.c.

Referenced by tw_get_stats(), and tw_sched_init().

tw_synch g_tw_synchronization_protocol =NO_SYNCH
double g_tw_ts_end = 100000.0