Go to the source code of this file.
Functions | |
static void | link_causality (tw_event *nev, tw_event *cev) |
void | tw_event_send (tw_event *event) |
static void | local_cancel (tw_pe *d, tw_event *event) |
static void | event_cancel (tw_event *event) |
void | tw_event_rollback (tw_event *event) |
|
inlinestatic |
Definition at line 107 of file tw-event.c.
References tw_event::dest_lp, tw_pe::id, io_event_cancel(), local_cancel(), tw_event::owner, tw_lp::pe, tw_pe::pq, tw_event::recv_ts, tw_statistics::s_net_other, tw_statistics::s_nsend_loc_remote, tw_statistics::s_nsend_net_remote, tw_statistics::s_pq, tw_event::state, tw_pe::stats, tw_pe::trans_msg_ts, tw_clock_read(), tw_error(), tw_event_free(), tw_gvt_inprogress(), TW_kp_pevent_q, TW_LOC, TW_net_asend, tw_net_cancel(), TW_net_outq, TW_pe_event_q, TW_pe_pq, TW_pe_sevent_q, tw_pq_delete_any(), and TW_STIME_CMP.
Referenced by tw_event_rollback().
Definition at line 4 of file tw-event.c.
References tw_event::cause_next, and tw_event::caused_by_me.
Referenced by tw_event_send().
Definition at line 100 of file tw-event.c.
References tw_pe::cancel_q.
Referenced by event_cancel().
void tw_event_rollback | ( | tw_event * | event | ) |
Definition at line 181 of file tw-event.c.
References buddy_free(), tw_event::cause_next, tw_event::caused_by_me, tw_lp::critical_path, tw_pe::cur_event, tw_lp::cur_state, tw_event::cv, tw_event::delta_buddy, event_cancel(), g_tw_pe, tw_lp::kp, tw_kp::kp_stats, tw_kp::last_time, tw_lp::lp_stats, tw_lp::pe, tw_event::recv_ts, tw_lptype::revent, tw_statistics::s_buddy, st_kp_stats::s_e_rbs, st_lp_stats::s_e_rbs, tw_kp::s_e_rbs, tw_pe::stats, tw_lp::suspend_do_orig_event_rc, tw_lp::suspend_error_number, tw_lp::suspend_event, tw_lp::suspend_flag, tw_lp::suspend_time, tw_clock_read(), tw_event_data(), tw_free_output_messages(), TW_STIME_CMP, TW_STIME_CRT, and tw_lp::type.
Referenced by tw_kp_rollback_event(), tw_kp_rollback_to(), tw_sched_batch(), and tw_sched_batch_realtime().
void tw_event_send | ( | tw_event * | event | ) |
Definition at line 9 of file tw-event.c.
References tw_pe::abort_event, tw_pe::cev_abort, CONSERVATIVE, tw_pe::cur_event, tw_event::dest_lp, tw_event::dest_lpid, tw_pe::event_q, g_tw_lookahead, g_tw_mynode, g_tw_synchronization_protocol, g_tw_ts_end, tw_lp::gid, tw_pe::id, tw_lp::kp, tw_kp::last_time, link_causality(), tw_lptype::map, tw_event::out_msgs, tw_lp::pe, tw_pe::pq, tw_statistics::s_net_other, tw_statistics::s_nsend_loc_remote, tw_statistics::s_nsend_net_remote, tw_statistics::s_pq, tw_pe::seq_num, tw_pe::stats, tw_pe::trans_msg_ts, tw_clock_read(), tw_error(), tw_eventq_push(), tw_getlocal_lp(), tw_gvt_inprogress(), TW_LOC, TW_net_asend, tw_net_send(), tw_now(), TW_pe_event_q, tw_pq_enqueue(), TW_STIME_CMP, TW_STIME_DBL, and tw_lp::type.
Referenced by io_load_events(), phold_event_handler(), phold_init(), phold_pre_run(), and st_create_sample_event().