ROSS
tw_pe Struct Reference

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_eventcancel_q
 List of canceled events.
tw_pqpq
 Priority queue used to sort events.
tw_eventq free_q
 Linked list of free tw_events.
tw_eventabort_event
 Placeholder event for when free_q is empty.
tw_eventcur_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_rngrng
 Pointer to the random number generator on this PE.
tw_rngcore_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.

Detailed Description

tw_pe

tw_pe

Definition at line 416 of file ross-types.h.

Field Documentation

◆ abort_event

tw_event * tw_pe::abort_event

◆ avl_list_head

AvlTree tw_pe::avl_list_head

Definition at line 433 of file ross-types.h.

◆ avl_tree_size

unsigned tw_pe::avl_tree_size

Definition at line 434 of file ross-types.h.

◆ cancel_q

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().

◆ cev_abort

◆ clock_offset

tw_clock tw_pe::clock_offset

Definition at line 437 of file ross-types.h.

Referenced by tw_clock_init(), and tw_clock_now().

◆ clock_time

tw_clock tw_pe::clock_time

Definition at line 438 of file ross-types.h.

Referenced by tw_clock_init(), and tw_clock_now().

◆ core_rng

tw_rng * tw_pe::core_rng

Definition at line 475 of file ross-types.h.

◆ cur_event

◆ delta_buffer

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().

◆ end_time

◆ event_q

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().

◆ free_q

◆ GVT

◆ GVT_prev

tw_stime tw_pe::GVT_prev

Definition at line 452 of file ross-types.h.

Referenced by tw_gvt_step2().

◆ GVT_prev_sig

tw_event_sig tw_pe::GVT_prev_sig

Definition at line 446 of file ross-types.h.

◆ GVT_sig

◆ gvt_status

◆ hash_t

void * tw_pe::hash_t

Definition at line 466 of file ross-types.h.

Referenced by recv_finish().

◆ id

◆ LVT

tw_stime tw_pe::LVT

Definition at line 453 of file ross-types.h.

◆ LVT_sig

tw_event_sig tw_pe::LVT_sig

Definition at line 447 of file ross-types.h.

◆ pq

◆ rng

tw_rng * tw_pe::rng

Definition at line 474 of file ross-types.h.

◆ s_nwhite_recv

long long tw_pe::s_nwhite_recv

Definition at line 457 of file ross-types.h.

Referenced by recv_finish(), and tw_gvt_step2().

◆ s_nwhite_sent

long long tw_pe::s_nwhite_sent

Definition at line 456 of file ross-types.h.

Referenced by send_begin(), and tw_gvt_step2().

◆ seq_num

tw_eventid tw_pe::seq_num

Definition at line 468 of file ross-types.h.

Referenced by tw_event_send().

◆ sevent_q

tw_eventq tw_pe::sevent_q

Definition at line 427 of file ross-types.h.

◆ start_time

◆ stats

◆ trans_msg_sig

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().

◆ trans_msg_ts

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().

◆ type


The documentation for this struct was generated from the following files: