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

Detailed Description

tw_pe

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

Field Documentation

tw_event* tw_pe::abort_event
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
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
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
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
tw_stime tw_pe::GVT
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
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
tw_stime tw_pe::LVT

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

tw_pq* tw_pe::pq
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
tw_statistics tw_pe::stats
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

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