ROSS
Functions
tw-queue.h File Reference
#include <ross.h>

Go to the source code of this file.

Functions

tw_pqtw_pq_create (void)
 
void tw_pq_enqueue (tw_pq *, tw_event *)
 
tw_eventtw_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 *)
 

Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void tw_pq_delete_any ( tw_pq ,
tw_event  
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

tw_event* tw_pq_dequeue ( tw_pq )
void tw_pq_enqueue ( tw_pq ,
tw_event  
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

tw_stime tw_pq_minimum ( tw_pq )