Go to the source code of this file.
Data Structures | |
struct | heap_node_t |
struct | heap_t |
Functions | |
void | ADIOI_Heap_free (heap_t *heap) |
int | ADIOI_Heap_create (heap_t *heap, int size) |
void | ADIOI_Heap_insert (heap_t *heap, ADIO_Offset offset, int proc, ADIO_Offset reg_max_len) |
void | ADIOI_Heap_extract_min (heap_t *heap, ADIO_Offset *key, int *proc, ADIO_Offset *reg_max_len) |
void ADIOI_Heap_free | ( | heap_t * | heap | ) |
Definition at line 41 of file heap-sort.c.
References heap_t::nodes.
Referenced by ADIOI_Build_agg_reqs().
Definition at line 32 of file heap-sort.c.
References heap_t::nodes, and heap_t::size.
Referenced by ADIOI_Build_agg_reqs().
void ADIOI_Heap_insert | ( | heap_t * | heap, | |
ADIO_Offset | offset, | |||
int | proc, | |||
ADIO_Offset | reg_max_len | |||
) |
Definition at line 81 of file heap-sort.c.
References heap_t::nodes, heap_node_t::offset, parent(), heap_node_t::proc, heap_node_t::reg_max_len, and heap_t::size.
Referenced by ADIOI_Build_agg_reqs(), and run_test().
void ADIOI_Heap_extract_min | ( | heap_t * | heap, | |
ADIO_Offset * | key, | |||
int * | proc, | |||
ADIO_Offset * | reg_max_len | |||
) |
Definition at line 96 of file heap-sort.c.
References assert, heapify(), heap_t::nodes, heap_node_t::offset, heap_node_t::proc, heap_node_t::reg_max_len, and heap_t::size.
Referenced by ADIOI_Build_agg_reqs().