ROSS
tw-queue.h File Reference
#include "ross-types.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_create()

tw_pq * tw_pq_create ( void )

Definition at line 56 of file splay.c.

References tw_pq::least, tw_pq::nitems, tw_pq::root, tw_calloc(), and TW_LOC.

Referenced by setup_pes().

◆ tw_pq_delete_any()

void tw_pq_delete_any ( tw_pq * st,
tw_event * r )

◆ tw_pq_dequeue()

◆ tw_pq_enqueue()

◆ tw_pq_get_size()

unsigned int tw_pq_get_size ( tw_pq * st)

Definition at line 418 of file splay.c.

References tw_pq::nitems.

Referenced by st_collect_engine_data_pes(), tw_get_stats(), and tw_gvt_hook_step_seq().

◆ tw_pq_max_size()

unsigned int tw_pq_max_size ( tw_pq * pq)

Definition at line 424 of file splay.c.

References tw_pq::max_size.

Referenced by gvt_print().

◆ tw_pq_minimum()