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. | |
tw_event * | cancel_next |
Next event in the cancel queue for the dest_pe. | |
tw_event * | caused_by_me |
Start of event list caused by this event. | |
tw_event * | cause_next |
Next in parent's caused_by_me chain. | |
tw_eventid | event_id |
Unique id assigned by src_lp->pe if remote. | |
tw_event_sig | sig |
Event signature, to be used by tiebreaker. | |
size_t | aborted_total |
Number of events caused by this event that were not scheduled. | |
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. | |
void * | delta_buddy |
Delta memory from buddy allocator. | |
size_t | delta_size |
Size of delta. | |
unsigned int | critical_path |
Critical path of this event. | |
tw_lp * | dest_lp |
Destination LP ID. | |
tw_lp * | src_lp |
Sending LP ID. | |
tw_stime | recv_ts |
Actual time to be received. | |
tw_peid | send_pe |
tw_lpid | send_lp |
sending LP ID for data collection uses | |
tw_lpid | dest_lpid |
tw_stime | send_ts |
tw_out * | out_msgs |
Output messages. | |
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 |
Holds entire event structure, one is created for each and every event in use.
Definition at line 277 of file ross-types.h.
size_t tw_event::aborted_total |
Definition at line 295 of file ross-types.h.
Referenced by tw_event_new_user_prio(), and tw_event_rollback().
unsigned char tw_event::cancel_asend |
Definition at line 302 of file ross-types.h.
Referenced by send_finish(), and tw_net_cancel().
tw_event * tw_event::cancel_next |
Definition at line 287 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 301 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 289 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 288 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 310 of file ross-types.h.
Referenced by io_event_deserialize(), io_event_serialize(), tw_event_new_user_prio(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
tw_bf tw_event::cv |
Definition at line 306 of file ross-types.h.
Referenced by io_event_deserialize(), io_event_serialize(), io_load_events(), print_event(), reset_bitfields(), tw_event_rollback(), tw_eventq_push_list(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
void * tw_event::delta_buddy |
Definition at line 307 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 308 of file ross-types.h.
Referenced by tw_snapshot_delta().
tw_lp * tw_event::dest_lp |
Definition at line 312 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_user_prio(), tw_event_rollback(), 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(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
tw_lpid tw_event::dest_lpid |
Definition at line 318 of file ross-types.h.
Referenced by tw_event_new_user_prio(), and tw_event_send().
tw_eventid tw_event::event_id |
Definition at line 291 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 278 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 321 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 300 of file ross-types.h.
Referenced by event_cancel(), io_event_grab(), recv_finish(), send_begin(), send_finish(), tw_event_free(), tw_eventq_alloc(), 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 279 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 314 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_user_prio(), tw_event_rollback(), 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_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
unsigned char tw_event::remote |
Definition at line 303 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 317 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 316 of file ross-types.h.
Referenced by avlDelete(), avlInsert(), avlSearch(), recv_finish(), send_begin(), tw_event_new_user_prio(), tw_eventq_push_list(), and tw_scheduler_conservative().
tw_stime tw_event::send_ts |
Definition at line 319 of file ross-types.h.
Referenced by st_collect_event_data(), and tw_event_new_user_prio().
tw_event_sig tw_event::sig |
Definition at line 294 of file ross-types.h.
Referenced by avlDelete(), avlInsert(), avlSearch(), event_cancel(), recv_finish(), tw_event_new_user_prio(), tw_event_rollback(), tw_event_send(), tw_kp_rollback_event(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), tw_scheduler_sequential(), and tw_scheduler_sequential_rollback_check().
tw_lp * tw_event::src_lp |
Definition at line 313 of file ross-types.h.
Referenced by io_event_deserialize(), io_event_serialize(), io_load_events(), send_begin(), send_finish(), tw_event_new_user_prio(), tw_event_rollback(), 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_alloc(), 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().
struct { ... } tw_event::state |
Status of the event's queue location(s).
tw_event * tw_event::up |
Definition at line 281 of file ross-types.h.