#include <grpc/support/port_platform.h>#include "src/core/lib/iomgr/timer_heap.h"#include <string.h>#include <grpc/support/alloc.h>#include "src/core/lib/gpr/useful.h"#include "src/core/lib/iomgr/port.h"
Go to the source code of this file.
Macros | |
| #define | SHRINK_FULLNESS_FACTOR 2 |
| #define | SHRINK_MIN_ELEMS 8 |
Functions | |
| static void | adjust_downwards (grpc_timer **first, uint32_t i, uint32_t length, grpc_timer *t) |
| static void | adjust_upwards (grpc_timer **first, uint32_t i, grpc_timer *t) |
| bool | grpc_timer_heap_add (grpc_timer_heap *heap, grpc_timer *timer) |
| void | grpc_timer_heap_destroy (grpc_timer_heap *heap) |
| void | grpc_timer_heap_init (grpc_timer_heap *heap) |
| bool | grpc_timer_heap_is_empty (grpc_timer_heap *heap) |
| void | grpc_timer_heap_pop (grpc_timer_heap *heap) |
| void | grpc_timer_heap_remove (grpc_timer_heap *heap, grpc_timer *timer) |
| grpc_timer * | grpc_timer_heap_top (grpc_timer_heap *heap) |
| static void | maybe_shrink (grpc_timer_heap *heap) |
| static void | note_changed_priority (grpc_timer_heap *heap, grpc_timer *timer) |
| #define SHRINK_FULLNESS_FACTOR 2 |
Definition at line 70 of file iomgr/timer_heap.cc.
| #define SHRINK_MIN_ELEMS 8 |
Definition at line 69 of file iomgr/timer_heap.cc.
|
static |
Definition at line 50 of file iomgr/timer_heap.cc.
|
static |
Definition at line 35 of file iomgr/timer_heap.cc.
| bool grpc_timer_heap_add | ( | grpc_timer_heap * | heap, |
| grpc_timer * | timer | ||
| ) |
Definition at line 97 of file iomgr/timer_heap.cc.
| void grpc_timer_heap_destroy | ( | grpc_timer_heap * | heap | ) |
Definition at line 95 of file iomgr/timer_heap.cc.
| void grpc_timer_heap_init | ( | grpc_timer_heap * | heap | ) |
Definition at line 91 of file iomgr/timer_heap.cc.
| bool grpc_timer_heap_is_empty | ( | grpc_timer_heap * | heap | ) |
Definition at line 124 of file iomgr/timer_heap.cc.
| void grpc_timer_heap_pop | ( | grpc_timer_heap * | heap | ) |
Definition at line 132 of file iomgr/timer_heap.cc.
| void grpc_timer_heap_remove | ( | grpc_timer_heap * | heap, |
| grpc_timer * | timer | ||
| ) |
Definition at line 110 of file iomgr/timer_heap.cc.
| grpc_timer* grpc_timer_heap_top | ( | grpc_timer_heap * | heap | ) |
Definition at line 128 of file iomgr/timer_heap.cc.
|
static |
Definition at line 72 of file iomgr/timer_heap.cc.
|
static |
Definition at line 81 of file iomgr/timer_heap.cc.