GRPC C++  1.39.1
Macros | Functions
timer_heap.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/iomgr/port.h"
#include "src/core/lib/iomgr/timer_heap.h"
#include <string.h>
#include <grpc/support/alloc.h>
#include "src/core/lib/gpr/useful.h"

Macros

#define SHRINK_MIN_ELEMS   8
 
#define SHRINK_FULLNESS_FACTOR   2
 

Functions

void grpc_timer_heap_init (grpc_timer_heap *heap)
 
void grpc_timer_heap_destroy (grpc_timer_heap *heap)
 
bool grpc_timer_heap_add (grpc_timer_heap *heap, grpc_timer *timer)
 
void grpc_timer_heap_remove (grpc_timer_heap *heap, grpc_timer *timer)
 
bool grpc_timer_heap_is_empty (grpc_timer_heap *heap)
 
grpc_timergrpc_timer_heap_top (grpc_timer_heap *heap)
 
void grpc_timer_heap_pop (grpc_timer_heap *heap)
 

Macro Definition Documentation

◆ SHRINK_FULLNESS_FACTOR

#define SHRINK_FULLNESS_FACTOR   2

◆ SHRINK_MIN_ELEMS

#define SHRINK_MIN_ELEMS   8

Function Documentation

◆ grpc_timer_heap_add()

bool grpc_timer_heap_add ( grpc_timer_heap heap,
grpc_timer timer 
)

◆ grpc_timer_heap_destroy()

void grpc_timer_heap_destroy ( grpc_timer_heap heap)

◆ grpc_timer_heap_init()

void grpc_timer_heap_init ( grpc_timer_heap heap)

◆ grpc_timer_heap_is_empty()

bool grpc_timer_heap_is_empty ( grpc_timer_heap heap)

◆ grpc_timer_heap_pop()

void grpc_timer_heap_pop ( grpc_timer_heap heap)

◆ grpc_timer_heap_remove()

void grpc_timer_heap_remove ( grpc_timer_heap heap,
grpc_timer timer 
)

◆ grpc_timer_heap_top()

grpc_timer* grpc_timer_heap_top ( grpc_timer_heap heap)