#include <ross.h>
Go to the source code of this file.
uint32_t g_tw_avl_node_count = 18 |
Definition at line 41 of file ross-global.c.
Referenced by avl_alloc(), avlInsert(), and tw_hash_create().
uint32_t g_tw_buddy_alloc = 0 |
buddy_list_bucket_t* g_tw_buddy_master = 0 |
Definition at line 40 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 |
Definition at line 102 of file ross-global.c.
Referenced by st_collect_engine_data(), st_collect_engine_data_pes(), st_inst_init(), tw_all_lp_stats(), tw_clock_setup(), tw_eventq_push_list(), tw_gvt_stats(), tw_gvt_step2(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_event_q(), tw_scheduler_conservative(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), tw_scheduler_sequential_rollback_check(), and tw_stats().
tw_seed g_tw_core_rng_seed = NULL |
Definition at line 35 of file ross-global.c.
Referenced by rng_core_init(), and tw_init().
FILE* g_tw_csv = NULL |
Definition at line 95 of file ross-global.c.
Referenced by setup_pes(), show_1f(), show_2f(), show_4f(), show_lld(), tw_end(), tw_init(), tw_opt_print(), and tw_stats().
map_custom_f g_tw_custom_initial_mapping =NULL |
Definition at line 21 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 20 of file ross-global.c.
Referenced by io_event_deserialize(), and tw_getlocal_lp().
size_t g_tw_delta_sz = 0 |
Definition at line 38 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 47 of file ross-global.c.
Referenced by tw_eventq_alloc().
unsigned int g_tw_events_per_pe = 2048 |
Definition at line 80 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 82 of file ross-global.c.
Referenced by setup_pes(), and tw_stats().
int g_tw_fossil_attempts = 0 |
Definition at line 30 of file ross-global.c.
Referenced by tw_get_stats(), and tw_pe_fossil_collect().
unsigned int g_tw_gvt_done = 0 |
Definition at line 85 of file ross-global.c.
Referenced by gvt_print(), st_collect_engine_data_pes(), tw_gvt_hook_step(), tw_gvt_stats(), tw_gvt_step2(), tw_stats(), and tw_trigger_gvt_hook_every().
unsigned int g_tw_gvt_interval = 16 |
Definition at line 67 of file ross-global.c.
Referenced by tw_gvt_force_update(), tw_gvt_stats(), tw_gvt_step1(), and tw_scheduler_optimistic_realtime().
unsigned long long g_tw_gvt_interval_start_cycles = 0 |
Definition at line 70 of file ross-global.c.
Referenced by tw_gvt_force_update_realtime(), tw_gvt_step1_realtime(), tw_gvt_step2(), tw_sched_batch_realtime(), and tw_scheduler_optimistic_realtime().
unsigned long long g_tw_gvt_realtime_interval |
Definition at line 69 of file ross-global.c.
Referenced by tw_gvt_stats(), tw_gvt_step1_realtime(), tw_sched_batch_realtime(), and tw_scheduler_optimistic_realtime().
unsigned int g_tw_gvt_threshold = 1000 |
Definition at line 84 of file ross-global.c.
Referenced by setup_pes(), tw_eventq_alloc(), tw_sched_batch(), tw_sched_batch_realtime(), and tw_scheduler_conservative().
tw_kp** g_tw_kp = NULL |
Definition at line 29 of file ross-global.c.
Referenced by io_store_checkpoint(), map_linear(), map_round_robin(), specialized_lp_init_mapping(), tw_define_lps(), tw_getkp(), tw_kp_onpe(), tw_scheduler_optimistic_debug(), and tw_scheduler_rollback_and_cancel_events_pe().
double g_tw_lookahead =0.005 |
Definition at line 53 of file ross-global.c.
Referenced by io_load_events(), main(), tw_event_send(), and tw_scheduler_conservative().
tw_lp** g_tw_lp = NULL |
Definition at line 28 of file ross-global.c.
Referenced by analysis_init(), crv_init_checkpoints(), io_event_deserialize(), io_read_checkpoint(), io_store_checkpoint(), late_sanity_check(), map_linear(), map_round_robin(), specialized_lp_init_mapping(), st_buffer_push(), st_collect_model_data(), st_model_settype(), tw_define_lps(), tw_getlocal_lp(), tw_getlp(), tw_init_lps(), tw_lp_onpe(), tw_lp_settype(), tw_lp_setup_types(), tw_pre_run_lps(), and tw_scheduler_sequential_rollback_check().
tw_lpid g_tw_lp_offset = 0 |
Definition at line 26 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 106 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 105 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 45 of file ross-global.c.
Referenced by tw_snapshot_delta().
Definition at line 22 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 |
Definition at line 93 of file ross-global.c.
Referenced by setup_pes(), st_buffer_allocate(), st_collect_event_data(), st_model_settype(), st_model_setup_types(), tw_gvt_step2(), tw_ismaster(), tw_net_init(), tw_net_statistics(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
unsigned long long g_tw_max_opt_lookahead = ULLONG_MAX |
Definition at line 68 of file ross-global.c.
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 66 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 59 of file ross-global.c.
Referenced by tw_event_new_user_prio(), and tw_get_stats().
size_t g_tw_msg_sz |
Definition at line 37 of file ross-global.c.
Referenced by io_load_events(), io_read_checkpoint(), io_store_checkpoint(), print_event(), tw_define_lps(), tw_eventq_alloc(), and tw_stats().
tw_peid g_tw_mynode = 0 |
Definition at line 92 of file ross-global.c.
Referenced by gvt_hook(), hash_search(), io_init(), io_read_checkpoint(), io_store_checkpoint(), main(), map_linear(), map_round_robin(), rng_core_init(), rng_init(), send_begin(), setup_pes(), specialized_lp_init_mapping(), st_buffer_allocate(), st_buffer_finalize(), st_buffer_push(), st_buffer_write(), st_collect_engine_data_kps(), st_collect_engine_data_lps(), st_collect_engine_data_pes(), st_collect_event_data(), st_collect_model_data(), st_model_settype(), st_model_setup_types(), tw_error(), tw_event_send(), tw_gvt_step2(), tw_init(), tw_ismaster(), tw_net_init(), tw_net_start(), tw_pe_init(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), tw_scheduler_sequential_rollback_check(), and tw_warning().
unsigned int g_tw_net_device_size = 0 |
Definition at line 91 of file ross-global.c.
Referenced by tw_eventq_alloc(), and tw_net_start().
tw_kpid g_tw_nkp = 1 |
Definition at line 27 of file ross-global.c.
Referenced by analysis_init(), analysis_map(), early_sanity_check(), io_init(), io_read_checkpoint(), io_store_checkpoint(), late_sanity_check(), map_linear(), map_round_robin(), setup_pes(), specialized_lp_setup(), st_collect_engine_data(), tw_define_lps(), tw_get_stats(), tw_getkp(), tw_getlocal_lp(), tw_init_kps(), tw_kp_onpe(), tw_pe_fossil_collect(), tw_scheduler_optimistic_debug(), and tw_scheduler_rollback_and_cancel_events_pe().
tw_lpid g_tw_nlp = 0 |
Definition at line 24 of file ross-global.c.
Referenced by analysis_init(), crv_init_checkpoints(), early_sanity_check(), io_init(), io_read_checkpoint(), io_store_checkpoint(), late_sanity_check(), main(), map_linear(), map_round_robin(), phold_event_handler(), phold_map(), phold_pre_run(), specialized_lp_init_mapping(), specialized_lp_setup(), st_collect_engine_data(), st_collect_model_data(), tw_all_lp_stats(), tw_define_lps(), tw_getlocal_lp(), tw_getlp(), tw_init_lps(), tw_lp_onpe(), tw_lp_settype(), tw_lp_setup_types(), tw_pre_run_lps(), tw_scheduler_sequential_rollback_check(), and tw_stats().
unsigned int g_tw_nRNG_core_per_lp = 1 |
Definition at line 32 of file ross-global.c.
Referenced by tw_define_lps(), and tw_rand_init_streams().
unsigned int g_tw_nRNG_per_lp = 1 |
Definition at line 31 of file ross-global.c.
Referenced by io_lp_deserialize(), io_lp_serialize(), tw_define_lps(), and tw_rand_init_streams().
tw_pe* g_tw_pe = NULL |
Definition at line 79 of file ross-global.c.
Referenced by avl_alloc(), avl_free(), gvt_print(), map_linear(), map_round_robin(), setup_pes(), specialized_lp_init_mapping(), st_buffer_write(), st_collect_event_data(), tw_event_free(), tw_event_rollback(), tw_eventq_push_list(), tw_get_stats(), tw_hash_create(), tw_hash_insert(), tw_hash_remove(), tw_net_start(), tw_pe_fossil_collect(), tw_pe_init(), tw_pe_settype(), tw_snapshot_delta(), tw_snapshot_restore(), and tw_trigger_gvt_hook_at().
tw_lpid g_tw_rng_default = 1 |
Definition at line 33 of file ross-global.c.
Referenced by tw_define_lps().
tw_seed g_tw_rng_seed = NULL |
Definition at line 34 of file ross-global.c.
Referenced by rng_init(), and tw_init().
unsigned int g_tw_sim_started = 0 |
Definition at line 36 of file ross-global.c.
Referenced by tw_get_stats(), and tw_sched_init().
Definition at line 19 of file ross-global.c.
Referenced by analysis_commit(), analysis_event(), recv_finish(), send_finish(), specialized_lp_setup(), st_buffer_init(), st_collect_event_data(), st_collect_model_data(), tw_define_lps(), tw_event_new_user_prio(), tw_event_send(), tw_gvt_step2(), tw_init_kps(), tw_net_start(), tw_output(), tw_pe_init(), tw_run(), tw_stats(), and tw_trigger_gvt_hook_now().
tw_lpid g_tw_total_lps = 0 |
Definition at line 25 of file ross-global.c.
Referenced by setup_pes(), tw_define_lps(), and tw_rand_init_streams().
double g_tw_ts_end = 100000.0 |
Definition at line 72 of file ross-global.c.
Referenced by gvt_print(), io_event_serialize(), phold_init(), setup_pes(), specialized_lp_run(), tw_event_new_user_prio(), tw_event_send(), tw_gvt_hook_step(), tw_gvt_hook_step_seq(), tw_gvt_step2(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().