Holds the entire PE state. More...
#include <ross-types.h>
Data Fields | |
| tw_peid | id |
| tw_petype | type |
| Model defined PE type routines. | |
| tw_eventq | event_q |
| Linked list of events sent to this PE. | |
| tw_event * | cancel_q |
| List of canceled events. | |
| tw_pq * | pq |
| Priority queue used to sort events. | |
| tw_eventq | free_q |
| Linked list of free tw_events. | |
| tw_event * | abort_event |
| Placeholder event for when free_q is empty. | |
| tw_event * | cur_event |
| Current event being processed. | |
| tw_eventq | sevent_q |
| events already sent over the network | |
| unsigned char * | delta_buffer [3] |
| buffers used for delta encoding | |
| AvlTree | avl_list_head |
| unsigned | avl_tree_size |
| tw_clock | clock_offset |
| Initial clock value for this PE. | |
| tw_clock | clock_time |
| Most recent clock value for this PE. | |
| unsigned char | cev_abort |
| Current event being processed must be aborted. | |
| unsigned char | gvt_status |
| Bits available for gvt computation. | |
| tw_event_sig | trans_msg_sig |
| Last transient messages' time signature. | |
| tw_event_sig | GVT_sig |
| Global Virtual Time Signature. | |
| tw_event_sig | GVT_prev_sig |
| tw_event_sig | LVT_sig |
| Local (to PE) Virtual Time Signature. | |
| long long | s_nwhite_sent |
| long long | s_nwhite_recv |
| tw_wtime | start_time |
| When this PE first started execution. | |
| tw_wtime | end_time |
| When this PE finished its execution. | |
| tw_statistics | stats |
| per PE counters | |
| void * | hash_t |
| Array of incoming events from remote pes, Note: only necessary for distributed DSR. | |
| tw_eventid | seq_num |
| Array of remote send counters for hashing on, size == g_tw_npe. | |
| tw_rng * | rng |
| Pointer to the random number generator on this PE. | |
| tw_rng * | core_rng |
| Pointer to the core random number generator on this PE. | |
| tw_stime | trans_msg_ts |
| Last transient messages' time stamp. | |
| tw_stime | GVT |
| Global Virtual Time. | |
| tw_stime | GVT_prev |
| tw_stime | LVT |
| Local (to PE) Virtual Time. | |
| tw_event * tw_pe::abort_event |
Definition at line 425 of file ross-types.h.
Referenced by io_load_events(), send_begin(), tw_event_new_user_prio(), tw_event_send(), tw_init_lps(), and tw_pre_run_lps().
| AvlTree tw_pe::avl_list_head |
Definition at line 433 of file ross-types.h.
| unsigned tw_pe::avl_tree_size |
Definition at line 434 of file ross-types.h.
| tw_event * tw_pe::cancel_q |
Definition at line 421 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 440 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(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
| tw_clock tw_pe::clock_offset |
Definition at line 437 of file ross-types.h.
Referenced by tw_clock_init(), and tw_clock_now().
| tw_clock tw_pe::clock_time |
Definition at line 438 of file ross-types.h.
Referenced by tw_clock_init(), and tw_clock_now().
| tw_rng * tw_pe::core_rng |
Definition at line 475 of file ross-types.h.
| tw_event * tw_pe::cur_event |
Definition at line 426 of file ross-types.h.
Referenced by io_load_events(), tw_event_new_user_prio(), 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_scheduler_sequential_rollback_check(), tw_snapshot_delta(), and tw_snapshot_restore().
| unsigned char * tw_pe::delta_buffer |
Definition at line 429 of file ross-types.h.
Referenced by tw_snapshot(), tw_snapshot_delta(), and tw_snapshot_restore().
| tw_wtime tw_pe::end_time |
Definition at line 461 of file ross-types.h.
Referenced by tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
| tw_eventq tw_pe::event_q |
Definition at line 420 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 424 of file ross-types.h.
Referenced by tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_optimistic_debug().
| tw_stime tw_pe::GVT |
Definition at line 451 of file ross-types.h.
Referenced by is_gvt_past_hook_threshold(), recv_finish(), tw_gvt_hook_step(), tw_gvt_hook_step_seq(), tw_gvt_step2(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_sched_batch(), and tw_sched_batch_realtime().
| tw_stime tw_pe::GVT_prev |
Definition at line 452 of file ross-types.h.
Referenced by tw_gvt_step2().
| tw_event_sig tw_pe::GVT_prev_sig |
Definition at line 446 of file ross-types.h.
| tw_event_sig tw_pe::GVT_sig |
Definition at line 445 of file ross-types.h.
Referenced by is_gvt_past_hook_threshold(), recv_finish(), tw_gvt_hook_step(), tw_gvt_hook_step_seq(), tw_kp_rollback_event(), tw_sched_batch(), and tw_sched_batch_realtime().
| unsigned char tw_pe::gvt_status |
Definition at line 441 of file ross-types.h.
Referenced by tw_gvt_step1(), tw_gvt_step1_realtime(), tw_gvt_step2(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_realtime(), and tw_trigger_gvt_hook_now().
| void * tw_pe::hash_t |
Definition at line 466 of file ross-types.h.
Referenced by recv_finish().
| tw_peid tw_pe::id |
Definition at line 417 of file ross-types.h.
Referenced by analysis_commit(), event_cancel(), recv_finish(), tw_all_lp_stats(), tw_event_new_user_prio(), tw_event_send(), tw_gvt_step2(), tw_kp_rollback_to(), tw_run(), and tw_scheduler_conservative().
| tw_stime tw_pe::LVT |
Definition at line 453 of file ross-types.h.
| tw_event_sig tw_pe::LVT_sig |
Definition at line 447 of file ross-types.h.
| tw_pq * tw_pe::pq |
Definition at line 422 of file ross-types.h.
Referenced by event_cancel(), recv_finish(), tw_event_send(), tw_gvt_hook_step(), tw_gvt_hook_step_seq(), tw_gvt_step2(), 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(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
| tw_rng * tw_pe::rng |
Definition at line 474 of file ross-types.h.
| long long tw_pe::s_nwhite_recv |
Definition at line 457 of file ross-types.h.
Referenced by recv_finish(), and tw_gvt_step2().
| long long tw_pe::s_nwhite_sent |
Definition at line 456 of file ross-types.h.
Referenced by send_begin(), and tw_gvt_step2().
| tw_eventid tw_pe::seq_num |
Definition at line 468 of file ross-types.h.
Referenced by tw_event_send().
| tw_eventq tw_pe::sevent_q |
Definition at line 427 of file ross-types.h.
| tw_wtime tw_pe::start_time |
Definition at line 460 of file ross-types.h.
Referenced by tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
| tw_statistics tw_pe::stats |
Definition at line 463 of file ross-types.h.
Referenced by analysis_event(), analysis_event_rc(), event_cancel(), recv_finish(), send_finish(), tw_event_new_user_prio(), tw_event_send(), tw_gvt_step2(), tw_init_lps(), 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(), and tw_scheduler_sequential_rollback_check().
| tw_event_sig tw_pe::trans_msg_sig |
Definition at line 444 of file ross-types.h.
Referenced by event_cancel(), recv_finish(), and tw_event_send().
| tw_stime tw_pe::trans_msg_ts |
Definition at line 450 of file ross-types.h.
Referenced by event_cancel(), recv_finish(), tw_event_send(), and tw_gvt_step2().
| tw_petype tw_pe::type |
Definition at line 418 of file ross-types.h.
Referenced by tw_sched_init(), tw_scheduler_conservative(), tw_scheduler_optimistic(), tw_scheduler_optimistic_debug(), tw_scheduler_optimistic_realtime(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().