Macros | Functions | Variables
benchmark-million-timers.c File Reference
#include "task.h"
#include "uv.h"
Include dependency graph for benchmark-million-timers.c:

Go to the source code of this file.

Macros

#define NUM_TIMERS   (10 * 1000 * 1000)
 

Functions

 BENCHMARK_IMPL (million_timers)
 
static void close_cb (uv_handle_t *handle)
 
static void timer_cb (uv_timer_t *handle)
 

Variables

static int close_cb_called
 
static int timer_cb_called
 

Macro Definition Documentation

◆ NUM_TIMERS

#define NUM_TIMERS   (10 * 1000 * 1000)

Definition at line 25 of file benchmark-million-timers.c.

Function Documentation

◆ BENCHMARK_IMPL()

BENCHMARK_IMPL ( million_timers  )

Definition at line 41 of file benchmark-million-timers.c.

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 36 of file benchmark-million-timers.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

Definition at line 31 of file benchmark-million-timers.c.

Variable Documentation

◆ close_cb_called

int close_cb_called
static

Definition at line 28 of file benchmark-million-timers.c.

◆ timer_cb_called

int timer_cb_called
static

Definition at line 27 of file benchmark-million-timers.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04