#include "task.h"
#include "uv.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ NUM_PINGS
#define NUM_PINGS (1000 * 1000) |
◆ BENCHMARK_IMPL() [1/4]
BENCHMARK_IMPL |
( |
async1 |
| ) |
|
◆ BENCHMARK_IMPL() [2/4]
BENCHMARK_IMPL |
( |
async2 |
| ) |
|
◆ BENCHMARK_IMPL() [3/4]
BENCHMARK_IMPL |
( |
async4 |
| ) |
|
◆ BENCHMARK_IMPL() [4/4]
BENCHMARK_IMPL |
( |
async8 |
| ) |
|
◆ main_async_cb()
◆ test_async()
static int test_async |
( |
int |
nthreads | ) |
|
|
static |
◆ worker()
static void worker |
( |
void * |
arg | ) |
|
|
static |
◆ worker_async_cb()
static void worker_async_cb |
( |
uv_async_t * |
handle | ) |
|
|
static |