Go to the source code of this file.
Macros | |
#define | ACCESS_ONCE(type, var) (*(volatile type*) &(var)) |
#define | NUM_PINGS (1000 * 1000) |
Functions | |
static void | async_cb (uv_async_t *handle) |
BENCHMARK_IMPL (async_pummel_1) | |
BENCHMARK_IMPL (async_pummel_2) | |
BENCHMARK_IMPL (async_pummel_4) | |
BENCHMARK_IMPL (async_pummel_8) | |
static void | pummel (void *arg) |
static int | test_async_pummel (int nthreads) |
Variables | |
static unsigned int | callbacks |
static volatile int | done |
static const char | running [] = "running" |
static const char | stop [] = "stop" |
static const char | stopped [] = "stopped" |
Definition at line 29 of file benchmark-async-pummel.c.
#define NUM_PINGS (1000 * 1000) |
Definition at line 28 of file benchmark-async-pummel.c.
|
static |
Definition at line 39 of file benchmark-async-pummel.c.
BENCHMARK_IMPL | ( | async_pummel_1 | ) |
Definition at line 102 of file benchmark-async-pummel.c.
BENCHMARK_IMPL | ( | async_pummel_2 | ) |
Definition at line 107 of file benchmark-async-pummel.c.
BENCHMARK_IMPL | ( | async_pummel_4 | ) |
Definition at line 112 of file benchmark-async-pummel.c.
BENCHMARK_IMPL | ( | async_pummel_8 | ) |
Definition at line 117 of file benchmark-async-pummel.c.
|
static |
Definition at line 53 of file benchmark-async-pummel.c.
Definition at line 64 of file benchmark-async-pummel.c.
|
static |
Definition at line 31 of file benchmark-async-pummel.c.
|
static |
Definition at line 32 of file benchmark-async-pummel.c.
|
static |
Definition at line 34 of file benchmark-async-pummel.c.
|
static |
Definition at line 35 of file benchmark-async-pummel.c.
|
static |
Definition at line 36 of file benchmark-async-pummel.c.