#include <ross.h>
Go to the source code of this file.
Functions | |
tw_pq * | tw_pq_create (void) |
void | tw_pq_enqueue (tw_pq *, tw_event *) |
tw_event * | tw_pq_dequeue (tw_pq *) |
tw_stime | tw_pq_minimum (tw_pq *) |
void | tw_pq_delete_any (tw_pq *, tw_event *) |
unsigned int | tw_pq_get_size (tw_pq *) |
unsigned int | tw_pq_max_size (tw_pq *) |
tw_pq* tw_pq_create | ( | void | ) |
Definition at line 54 of file splay.c.
References tw_pq::least, tw_pq::nitems, tw_pq::root, tw_calloc(), and TW_LOC.
Referenced by setup_pes().
Definition at line 288 of file splay.c.
References tw_pq::least, LEFT, tw_pq::nitems, tw_event::owner, RIGHT, tw_pq::root, splay(), tw_event::state, tw_error(), TW_LOC, tw_pq_dequeue(), and UP.
Referenced by event_cancel(), and tw_sched_cancel_q().
Definition at line 245 of file splay.c.
References tw_pq::least, LEFT, tw_pq::nitems, tw_event::owner, RIGHT, tw_pq::root, tw_event::state, and UP.
Referenced by tw_pq_delete_any(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), tw_scheduler_optimistic_debug(), and tw_scheduler_sequential().
Definition at line 195 of file splay.c.
References tw_pq::least, LEFT, tw_pq::max_size, tw_pq::nitems, tw_event::owner, RIGHT, tw_pq::root, splay(), tw_event::state, TW_pe_pq, tw_pq_compare_less_than(), and UP.
Referenced by recv_finish(), tw_event_send(), tw_kp_rollback_event(), tw_kp_rollback_to(), tw_sched_batch(), tw_sched_batch_realtime(), and tw_sched_event_q().
unsigned int tw_pq_get_size | ( | tw_pq * | ) |
Definition at line 351 of file splay.c.
References tw_pq::nitems.
Referenced by st_collect_engine_data_pes(), and tw_get_stats().
unsigned int tw_pq_max_size | ( | tw_pq * | ) |
Definition at line 357 of file splay.c.
References tw_pq::max_size.
Referenced by gvt_print().
Definition at line 345 of file splay.c.
References tw_pq::least, tw_event::recv_ts, and TW_STIME_MAX.
Referenced by tw_gvt_step1(), tw_gvt_step1_realtime(), tw_gvt_step2(), tw_sched_batch(), tw_sched_batch_realtime(), tw_scheduler_conservative(), and tw_scheduler_sequential().