Go to the source code of this file.
|
static void | add_to_ht (grpc_timer *t) |
|
static grpc_core::Timestamp | compute_min_deadline (timer_shard *shard) |
|
static void | destroy_timer_ht () |
|
struct shared_mutables | GPR_ALIGN_STRUCT (GPR_CACHELINE_SIZE) |
|
static | GPR_THREAD_LOCAL (int64_t) g_last_seen_min_timer |
|
void | grpc_timer_init_unset (grpc_timer *timer) |
|
static void | init_timer_ht () |
|
static bool | is_in_ht (grpc_timer *t) |
|
static void | list_join (grpc_timer *head, grpc_timer *timer) |
|
static void | list_remove (grpc_timer *timer) |
|
static void | note_deadline_change (timer_shard *shard) |
|
static grpc_timer * | pop_one (timer_shard *shard, grpc_core::Timestamp now) |
|
static size_t | pop_timers (timer_shard *shard, grpc_core::Timestamp now, grpc_core::Timestamp *new_min_deadline, grpc_error_handle error) |
|
static bool | refill_heap (timer_shard *shard, grpc_core::Timestamp now) |
|
static void | remove_from_ht (grpc_timer *t) |
|
static grpc_timer_check_result | run_some_expired_timers (grpc_core::Timestamp now, grpc_core::Timestamp *next, grpc_error_handle error) |
|
static void | swap_adjacent_shards_in_queue (uint32_t first_shard_queue_index) |
|
static void | timer_cancel (grpc_timer *timer) |
|
static grpc_timer_check_result | timer_check (grpc_core::Timestamp *next) |
|
static void | timer_consume_kick (void) |
|
static void | timer_init (grpc_timer *timer, grpc_core::Timestamp deadline, grpc_closure *closure) |
|
static void | timer_list_init () |
|
static void | timer_list_shutdown () |
|
static void | validate_non_pending_timer (grpc_timer *t) |
|
◆ ADD_DEADLINE_SCALE
#define ADD_DEADLINE_SCALE 0.33 |
◆ ADD_TO_HASH_TABLE
#define ADD_TO_HASH_TABLE |
( |
|
t | ) |
add_to_ht((t)) |
◆ DESTROY_TIMER_HASH_TABLE
◆ INIT_TIMER_HASH_TABLE
◆ INVALID_HEAP_INDEX
#define INVALID_HEAP_INDEX 0xffffffffu |
◆ MAX_QUEUE_WINDOW_DURATION
#define MAX_QUEUE_WINDOW_DURATION 1.0 |
◆ MIN_QUEUE_WINDOW_DURATION
#define MIN_QUEUE_WINDOW_DURATION 0.01 |
◆ NUM_HASH_BUCKETS
◆ REMOVE_FROM_HASH_TABLE
◆ VALIDATE_NON_PENDING_TIMER
◆ add_to_ht()
◆ compute_min_deadline()
◆ destroy_timer_ht()
static void destroy_timer_ht |
( |
| ) |
|
|
static |
◆ GPR_ALIGN_STRUCT()
◆ GPR_THREAD_LOCAL()
static GPR_THREAD_LOCAL |
( |
int64_t |
| ) |
|
|
static |
◆ grpc_timer_init_unset()
◆ init_timer_ht()
static void init_timer_ht |
( |
| ) |
|
|
static |
◆ is_in_ht()
◆ list_join()
◆ list_remove()
◆ note_deadline_change()
static void note_deadline_change |
( |
timer_shard * |
shard | ) |
|
|
static |
◆ pop_one()
◆ pop_timers()
◆ refill_heap()
◆ remove_from_ht()
◆ run_some_expired_timers()
◆ swap_adjacent_shards_in_queue()
static void swap_adjacent_shards_in_queue |
( |
uint32_t |
first_shard_queue_index | ) |
|
|
static |
◆ timer_cancel()
◆ timer_check()
◆ timer_consume_kick()
static void timer_consume_kick |
( |
void |
| ) |
|
|
static |
◆ timer_init()
◆ timer_list_init()
static void timer_list_init |
( |
| ) |
|
|
static |
◆ timer_list_shutdown()
static void timer_list_shutdown |
( |
| ) |
|
|
static |
◆ validate_non_pending_timer()
static void validate_non_pending_timer |
( |
grpc_timer * |
t | ) |
|
|
static |
◆ checker_mu
◆ g_hash_mu
◆ g_num_shards
◆ g_shard_queue
◆ g_shards
◆ g_shared_mutables
◆ g_timer_ht
◆ grpc_generic_timer_vtable
◆ grpc_timer_check_trace
◆ grpc_timer_trace
◆ initialized
◆ min_timer
◆ mu