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

Go to the source code of this file.

Classes

struct  async_container
 

Functions

static void async_cb (uv_async_t *handle)
 
 BENCHMARK_IMPL (million_async)
 
static unsigned fastrand (void)
 
static void thread_cb (void *arg)
 
static void timer_cb (uv_timer_t *handle)
 

Variables

static struct async_containercontainer
 
static volatile int done
 
static uv_thread_t thread_id
 

Function Documentation

◆ async_cb()

static void async_cb ( uv_async_t handle)
static

Definition at line 53 of file benchmark-million-async.c.

◆ BENCHMARK_IMPL()

BENCHMARK_IMPL ( million_async  )

Definition at line 78 of file benchmark-million-async.c.

◆ fastrand()

static unsigned fastrand ( void  )
static

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

◆ thread_cb()

static void thread_cb ( void *  arg)
static

Definition at line 43 of file benchmark-million-async.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

Definition at line 59 of file benchmark-million-async.c.

Variable Documentation

◆ container

struct async_container* container
static

Definition at line 33 of file benchmark-million-async.c.

◆ done

volatile int done
static

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

◆ thread_id

uv_thread_t thread_id
static

Definition at line 32 of file benchmark-million-async.c.



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