Go to the source code of this file.
Classes | |
struct | buf_s |
struct | pinger_t |
Macros | |
#define | TIME 5000 |
#define | X(PINGERS) |
Typedefs | |
typedef struct buf_s | buf_t |
Functions | |
static void | buf_alloc (uv_handle_t *tcp, size_t size, uv_buf_t *buf) |
static void | buf_free (const uv_buf_t *buf) |
static int | ping_udp (unsigned pingers) |
static void | pinger_close_cb (uv_handle_t *handle) |
static void | pinger_read_cb (uv_udp_t *udp, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags) |
static void | pinger_write_ping (pinger_t *pinger) |
static void | udp_pinger_new (void) |
Variables | |
static int | completed_pingers |
static unsigned long | completed_pings |
static uv_loop_t * | loop |
static char | PING [] = "PING\n" |
static int64_t | start_time |
#define TIME 5000 |
Definition at line 29 of file benchmark-ping-udp.c.
#define X | ( | PINGERS | ) |
Definition at line 154 of file benchmark-ping-udp.c.
|
static |
Definition at line 52 of file benchmark-ping-udp.c.
Definition at line 59 of file benchmark-ping-udp.c.
|
static |
Definition at line 135 of file benchmark-ping-udp.c.
|
static |
Definition at line 63 of file benchmark-ping-udp.c.
|
static |
Definition at line 88 of file benchmark-ping-udp.c.
|
static |
Definition at line 77 of file benchmark-ping-udp.c.
|
static |
Definition at line 114 of file benchmark-ping-udp.c.
|
static |
Definition at line 47 of file benchmark-ping-udp.c.
|
static |
Definition at line 48 of file benchmark-ping-udp.c.
|
static |
Definition at line 45 of file benchmark-ping-udp.c.
|
static |
Definition at line 43 of file benchmark-ping-udp.c.
|
static |
Definition at line 49 of file benchmark-ping-udp.c.