Holds the entire PE state. More...
#include <ross-types.h>
Data Fields | |
tw_peid | id |
tw_petype | type |
Model defined PE type routines. More... | |
tw_eventq | event_q |
Linked list of events sent to this PE. More... | |
tw_event * | cancel_q |
List of canceled events. More... | |
tw_pq * | pq |
Priority queue used to sort events. More... | |
tw_eventq | free_q |
Linked list of free tw_events. More... | |
tw_event * | abort_event |
Placeholder event for when free_q is empty. More... | |
tw_event * | cur_event |
Current event being processed. More... | |
tw_eventq | sevent_q |
events already sent over the network More... | |
unsigned char * | delta_buffer [3] |
buffers used for delta encoding More... | |
AvlTree | avl_list_head |
unsigned | avl_tree_size |
tw_clock | clock_offset |
Initial clock value for this PE. More... | |
tw_clock | clock_time |
Most recent clock value for this PE. More... | |
unsigned char | cev_abort |
Current event being processed must be aborted. More... | |
unsigned char | gvt_status |
Bits available for gvt computation. More... | |
tw_stime | trans_msg_ts |
Last transient messages' time stamp. More... | |
tw_stime | GVT |
Global Virtual Time. More... | |
tw_stime | GVT_prev |
tw_stime | LVT |
Local (to PE) Virtual Time. More... | |
long long | s_nwhite_sent |
long long | s_nwhite_recv |
tw_wtime | start_time |
When this PE first started execution. More... | |
tw_wtime | end_time |
When this PE finished its execution. More... | |
tw_statistics | stats |
per PE counters More... | |
void * | hash_t |
Array of incoming events from remote pes, Note: only necessary for distributed DSR. More... | |
tw_eventid | seq_num |
Array of remote send counters for hashing on, size == g_tw_npe. More... | |
tw_rng * | rng |
Pointer to the random number generator on this PE. More... | |
Definition at line 375 of file ross-types.h.
tw_event* tw_pe::abort_event |
Definition at line 384 of file ross-types.h.
Referenced by io_event_grab(), io_load_events(), send_begin(), setup_pes(), tw_event_new(), tw_event_send(), tw_init_lps(), and tw_pre_run_lps().
AvlTree tw_pe::avl_list_head |
Definition at line 392 of file ross-types.h.
Referenced by avl_alloc(), avl_free(), and tw_hash_create().
unsigned tw_pe::avl_tree_size |
Definition at line 393 of file ross-types.h.
Referenced by gvt_print(), tw_hash_create(), tw_hash_insert(), and tw_hash_remove().
tw_event* tw_pe::cancel_q |
Definition at line 380 of file ross-types.h.
Referenced by local_cancel(), recv_finish(), and tw_sched_cancel_q().
unsigned char tw_pe::cev_abort |
Definition at line 399 of file ross-types.h.
Referenced by io_load_events(), tw_event_send(), tw_init_lps(), tw_pre_run_lps(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().
tw_clock tw_pe::clock_offset |
Definition at line 396 of file ross-types.h.
Referenced by tw_clock_init(), and tw_clock_now().
tw_clock tw_pe::clock_time |
Definition at line 397 of file ross-types.h.
Referenced by tw_clock_init(), and tw_clock_now().
tw_event* tw_pe::cur_event |
Definition at line 385 of file ross-types.h.
Referenced by io_load_events(), tw_event_rollback(), tw_event_send(), tw_init_lps(), tw_lp_suspend(), tw_output(), tw_pre_run_lps(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), tw_snapshot_delta(), and tw_snapshot_restore().
unsigned char* tw_pe::delta_buffer[3] |
Definition at line 388 of file ross-types.h.
Referenced by tw_delta_alloc(), tw_snapshot(), tw_snapshot_delta(), and tw_snapshot_restore().
tw_wtime tw_pe::end_time |
Definition at line 413 of file ross-types.h.
Referenced by tw_get_stats(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), and tw_scheduler_sequential().
tw_eventq tw_pe::event_q |
Definition at line 379 of file ross-types.h.
Referenced by recv_finish(), tw_event_send(), tw_sched_cancel_q(), and tw_sched_event_q().
tw_eventq tw_pe::free_q |
Definition at line 383 of file ross-types.h.
Referenced by setup_pes(), tw_event_free(), tw_event_grab(), tw_eventq_fossil_collect(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_optimistic_debug().
tw_stime tw_pe::GVT |
Definition at line 403 of file ross-types.h.
Referenced by recv_finish(), st_collect_engine_data(), st_collect_engine_data_kps(), st_collect_model_data(), tw_eventq_fossil_collect(), tw_gvt_step1(), tw_gvt_step1_realtime(), tw_gvt_step2(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic(), and tw_scheduler_optimistic_realtime().
tw_stime tw_pe::GVT_prev |
Definition at line 404 of file ross-types.h.
Referenced by tw_gvt_step2().
unsigned char tw_pe::gvt_status |
Definition at line 400 of file ross-types.h.
Referenced by tw_gvt_inprogress(), tw_gvt_step1(), tw_gvt_step1_realtime(), tw_gvt_step2(), and tw_pe_init().
void* tw_pe::hash_t |
Definition at line 418 of file ross-types.h.
Referenced by recv_finish(), tw_eventq_push_list(), and tw_pe_init().
tw_peid tw_pe::id |
Definition at line 376 of file ross-types.h.
Referenced by analysis_commit(), event_cancel(), map_linear(), map_round_robin(), recv_finish(), tw_event_send(), tw_gvt_step2(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_pe_init(), tw_run(), and tw_scheduler_conservative().
tw_stime tw_pe::LVT |
Definition at line 405 of file ross-types.h.
tw_pq* tw_pe::pq |
Definition at line 381 of file ross-types.h.
Referenced by event_cancel(), gvt_print(), recv_finish(), setup_pes(), st_collect_engine_data_pes(), tw_event_send(), tw_get_stats(), tw_gvt_step1(), tw_gvt_step1_realtime(), tw_gvt_step2(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_cancel_q(), tw_sched_event_q(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
tw_rng* tw_pe::rng |
Definition at line 426 of file ross-types.h.
Referenced by tw_pe_init().
long long tw_pe::s_nwhite_recv |
Definition at line 409 of file ross-types.h.
Referenced by recv_finish(), and tw_gvt_step2().
long long tw_pe::s_nwhite_sent |
Definition at line 408 of file ross-types.h.
Referenced by send_begin(), and tw_gvt_step2().
tw_eventid tw_pe::seq_num |
Definition at line 420 of file ross-types.h.
Referenced by tw_event_send().
tw_eventq tw_pe::sevent_q |
Definition at line 386 of file ross-types.h.
tw_wtime tw_pe::start_time |
Definition at line 412 of file ross-types.h.
Referenced by tw_get_stats(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), and tw_scheduler_sequential().
tw_statistics tw_pe::stats |
Definition at line 415 of file ross-types.h.
Referenced by analysis_event(), analysis_event_rc(), event_cancel(), io_event_grab(), recv_finish(), send_finish(), setup_pes(), st_buffer_write(), st_collect_engine_data(), st_collect_engine_data_pes(), st_collect_event_data(), st_collect_model_data(), tw_event_free(), tw_event_new(), tw_event_rollback(), tw_event_send(), tw_eventq_push_list(), tw_get_stats(), tw_gvt_step2(), tw_hash_insert(), tw_hash_remove(), tw_init_lps(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_net_statistics(), tw_run(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_cancel_q(), tw_sched_event_q(), tw_sched_init(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), tw_snapshot_delta(), and tw_snapshot_restore().
tw_stime tw_pe::trans_msg_ts |
Definition at line 402 of file ross-types.h.
Referenced by event_cancel(), recv_finish(), tw_event_send(), tw_gvt_step2(), and tw_pe_init().
tw_petype tw_pe::type |
Definition at line 377 of file ross-types.h.
Referenced by tw_sched_init(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), and tw_scheduler_sequential().