Event Stucture. More...
#include <ross-types.h>
Data Fields | |
tw_event * | next |
tw_event * | prev |
tw_event * | up |
Up pointer for storing membufs in splay tree. More... | |
tw_event * | cancel_next |
Next event in the cancel queue for the dest_pe. More... | |
tw_event * | caused_by_me |
Start of event list caused by this event. More... | |
tw_event * | cause_next |
Next in parent's caused_by_me chain. More... | |
tw_eventid | event_id |
Unique id assigned by src_lp->pe if remote. More... | |
struct { | |
unsigned char owner | |
Owner of the next/prev pointers; see tw_event_owner. More... | |
unsigned char cancel_q | |
Actively on a dest_lp->pe's cancel_q. More... | |
unsigned char cancel_asend | |
unsigned char remote | |
Indicates union addr is in 'remote' storage. More... | |
} | state |
tw_bf | cv |
Used by app during reverse computation. More... | |
void * | delta_buddy |
Delta memory from buddy allocator. More... | |
size_t | delta_size |
Size of delta. More... | |
unsigned int | critical_path |
Critical path of this event. More... | |
tw_lp * | dest_lp |
Destination LP ID. More... | |
tw_lp * | src_lp |
Sending LP ID. More... | |
tw_stime | recv_ts |
Actual time to be received. More... | |
tw_peid | send_pe |
tw_lpid | send_lp |
sending LP ID for data collection uses More... | |
tw_lpid | dest_lpid |
tw_stime | send_ts |
tw_out * | out_msgs |
Output messages. More... | |
tw_event: Holds entire event structure, one is created for each and every event in use.
Definition at line 250 of file ross-types.h.
unsigned char tw_event::cancel_asend |
Definition at line 270 of file ross-types.h.
Referenced by send_finish(), and tw_net_cancel().
tw_event* tw_event::cancel_next |
Definition at line 260 of file ross-types.h.
Referenced by io_event_grab(), recv_finish(), tw_event_grab(), and tw_sched_cancel_q().
unsigned char tw_event::cancel_q |
Definition at line 269 of file ross-types.h.
Referenced by recv_finish(), send_begin(), send_finish(), tw_net_cancel(), tw_sched_cancel_q(), and tw_sched_event_q().
tw_event* tw_event::cause_next |
Definition at line 262 of file ross-types.h.
Referenced by io_event_grab(), link_causality(), recv_finish(), tw_event_grab(), tw_event_rollback(), and tw_eventq_push_list().
tw_event* tw_event::caused_by_me |
Definition at line 261 of file ross-types.h.
Referenced by io_event_grab(), io_load_events(), link_causality(), recv_finish(), tw_event_grab(), tw_event_rollback(), tw_eventq_push_list(), tw_init_lps(), and tw_pre_run_lps().
unsigned int tw_event::critical_path |
Definition at line 278 of file ross-types.h.
Referenced by io_event_deserialize(), io_event_serialize(), tw_event_new(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
tw_bf tw_event::cv |
Definition at line 274 of file ross-types.h.
Referenced by io_event_deserialize(), io_event_serialize(), io_load_events(), reset_bitfields(), tw_event_rollback(), tw_eventq_push_list(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
void* tw_event::delta_buddy |
Definition at line 275 of file ross-types.h.
Referenced by tw_event_free(), tw_event_rollback(), tw_eventq_push_list(), tw_snapshot_delta(), and tw_snapshot_restore().
size_t tw_event::delta_size |
Definition at line 276 of file ross-types.h.
Referenced by tw_snapshot_delta().
tw_lp* tw_event::dest_lp |
Definition at line 280 of file ross-types.h.
Referenced by event_cancel(), io_event_deserialize(), io_event_serialize(), io_load_events(), recv_finish(), send_begin(), st_collect_event_data(), tw_event_new(), tw_event_send(), tw_eventq_push_list(), tw_hash_insert(), tw_hash_remove(), tw_pq_compare_less_than(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_event_q(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
tw_lpid tw_event::dest_lpid |
Definition at line 286 of file ross-types.h.
Referenced by tw_event_new(), and tw_event_send().
tw_eventid tw_event::event_id |
Definition at line 264 of file ross-types.h.
Referenced by avlDelete(), avlInsert(), avlSearch(), hash_search(), io_event_grab(), tw_event_grab(), tw_eventq_push_list(), and tw_pq_compare_less_than().
tw_event* tw_event::next |
Definition at line 251 of file ross-types.h.
Referenced by io_event_grab(), tw_event_grab(), tw_eventq_alloc(), tw_eventq_debug(), tw_eventq_delete_any(), tw_eventq_fossil_collect(), tw_eventq_pop(), tw_eventq_push(), tw_eventq_push_list(), tw_eventq_shift(), tw_eventq_splice(), tw_eventq_unshift(), tw_net_minimum(), and tw_sched_event_q().
tw_out* tw_event::out_msgs |
Definition at line 289 of file ross-types.h.
Referenced by tw_event_send(), tw_free_output_messages(), and tw_output().
unsigned char tw_event::owner |
Definition at line 268 of file ross-types.h.
Referenced by event_cancel(), io_event_grab(), recv_finish(), send_begin(), send_finish(), tw_event_free(), tw_eventq_push_list(), tw_net_cancel(), tw_net_send(), tw_pq_delete_any(), tw_pq_dequeue(), tw_pq_enqueue(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_cancel_q(), tw_sched_event_q(), and tw_scheduler_optimistic_debug().
tw_event* tw_event::prev |
Definition at line 252 of file ross-types.h.
Referenced by io_event_grab(), tw_event_grab(), tw_eventq_alloc(), tw_eventq_debug(), tw_eventq_delete_any(), tw_eventq_fossil_collect(), tw_eventq_pop(), tw_eventq_push(), tw_eventq_push_list(), tw_eventq_shift(), tw_eventq_splice(), tw_eventq_unshift(), and tw_sched_event_q().
tw_stime tw_event::recv_ts |
Definition at line 282 of file ross-types.h.
Referenced by avlDelete(), avlInsert(), avlSearch(), event_cancel(), io_event_deserialize(), io_event_serialize(), io_load_events(), recv_finish(), st_collect_event_data(), tw_event_new(), tw_event_rollback(), tw_eventq_fossil_collect(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_net_minimum(), tw_pq_compare_less_than(), tw_pq_minimum(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_event_q(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
unsigned char tw_event::remote |
Definition at line 271 of file ross-types.h.
Referenced by recv_finish(), tw_eventq_push_list(), and tw_net_send().
tw_lpid tw_event::send_lp |
Definition at line 285 of file ross-types.h.
Referenced by send_begin(), st_collect_event_data(), tw_pq_compare_less_than(), and tw_scheduler_conservative().
tw_peid tw_event::send_pe |
Definition at line 284 of file ross-types.h.
Referenced by avlDelete(), avlInsert(), avlSearch(), recv_finish(), send_begin(), tw_eventq_push_list(), and tw_scheduler_conservative().
tw_stime tw_event::send_ts |
Definition at line 287 of file ross-types.h.
Referenced by st_collect_event_data(), and tw_event_new().
tw_lp* tw_event::src_lp |
Definition at line 281 of file ross-types.h.
Referenced by io_event_deserialize(), io_event_serialize(), io_load_events(), send_begin(), send_finish(), tw_event_new(), tw_eventq_push_list(), tw_net_cancel(), and tw_net_send().
struct { ... } tw_event::state |
Status of the event's queue location(s).
Referenced by event_cancel(), io_event_grab(), recv_finish(), send_begin(), send_finish(), tw_event_free(), tw_event_grab(), tw_eventq_push_list(), tw_net_cancel(), tw_net_send(), tw_pq_delete_any(), tw_pq_dequeue(), tw_pq_enqueue(), tw_sched_batch(), tw_sched_batch_realtime(), tw_sched_cancel_q(), tw_sched_event_q(), and tw_scheduler_optimistic_debug().
tw_event* tw_event::up |
Definition at line 254 of file ross-types.h.