Go to the source code of this file.
Macros | |
#define | CONCURRENT_CALLS 10 |
#define | TOTAL_CALLS 10000 |
Functions | |
BENCHMARK_IMPL (getaddrinfo) | |
static void | getaddrinfo_cb (uv_getaddrinfo_t *handle, int status, struct addrinfo *res) |
static void | getaddrinfo_initiate (uv_getaddrinfo_t *handle) |
Variables | |
static int | calls_completed = 0 |
static int | calls_initiated = 0 |
static int64_t | end_time |
static uv_getaddrinfo_t | handles [CONCURRENT_CALLS] |
static uv_loop_t * | loop |
static const char * | name = "localhost" |
static int64_t | start_time |
#define CONCURRENT_CALLS 10 |
Definition at line 26 of file benchmark-getaddrinfo.c.
#define TOTAL_CALLS 10000 |
Definition at line 27 of file benchmark-getaddrinfo.c.
BENCHMARK_IMPL | ( | getaddrinfo | ) |
Definition at line 66 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 44 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 56 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 36 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 35 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 38 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 33 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 31 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 29 of file benchmark-getaddrinfo.c.
|
static |
Definition at line 37 of file benchmark-getaddrinfo.c.