
Go to the source code of this file.
Classes | |
| struct | conn_rec_s |
| struct | pipe_conn_rec |
| struct | tcp_conn_rec |
Macros | |
| #define | DEBUG 0 |
| #define | MAX_CONNS 1000 |
| #define | NANOSEC ((uint64_t) 1e9) |
Typedefs | |
| typedef struct conn_rec_s | conn_rec |
| typedef int(* | connect_fn) (int num, make_connect_fn make_connect, void *arg) |
| typedef void(* | make_connect_fn) (struct conn_rec_s *conn) |
| typedef void(* | setup_fn) (int num, void *arg) |
Functions | |
| static void | after_write (uv_write_t *req, int status) |
| static void | alloc_cb (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
| BENCHMARK_IMPL (pipe_pound_100) | |
| BENCHMARK_IMPL (pipe_pound_1000) | |
| BENCHMARK_IMPL (tcp4_pound_100) | |
| BENCHMARK_IMPL (tcp4_pound_1000) | |
| static void | close_cb (uv_handle_t *handle) |
| static void | connect_cb (uv_connect_t *conn_req, int status) |
| static int | pipe_do_connect (int num, make_connect_fn make_connect, void *arg) |
| static void | pipe_do_setup (int num, void *arg) |
| static void | pipe_make_connect (conn_rec *p) |
| static int | pound_it (int concurrency, const char *type, setup_fn do_setup, connect_fn do_connect, make_connect_fn make_connect, void *arg) |
| static void | read_cb (uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf) |
| static int | tcp_do_connect (int num, make_connect_fn make_connect, void *arg) |
| static void | tcp_do_setup (int num, void *arg) |
| static void | tcp_make_connect (conn_rec *p) |
Variables | |
| static char | buffer [] = "QS" |
| static int | closed_streams |
| static int | conns_failed |
| static uv_loop_t * | loop |
| static pipe_conn_rec | pipe_conns [MAX_CONNS] |
| static uint64_t | start |
| static tcp_conn_rec | tcp_conns [MAX_CONNS] |
| #define DEBUG 0 |
Definition at line 32 of file benchmark-pound.c.
| #define MAX_CONNS 1000 |
Definition at line 26 of file benchmark-pound.c.
| #define NANOSEC ((uint64_t) 1e9) |
Definition at line 29 of file benchmark-pound.c.
| typedef struct conn_rec_s conn_rec |
| typedef int(* connect_fn) (int num, make_connect_fn make_connect, void *arg) |
Definition at line 38 of file benchmark-pound.c.
| typedef void(* make_connect_fn) (struct conn_rec_s *conn) |
Definition at line 37 of file benchmark-pound.c.
Definition at line 36 of file benchmark-pound.c.
|
static |
Definition at line 93 of file benchmark-pound.c.
|
static |
Definition at line 84 of file benchmark-pound.c.
| BENCHMARK_IMPL | ( | pipe_pound_100 | ) |
Definition at line 334 of file benchmark-pound.c.
| BENCHMARK_IMPL | ( | pipe_pound_1000 | ) |
Definition at line 344 of file benchmark-pound.c.
| BENCHMARK_IMPL | ( | tcp4_pound_100 | ) |
Definition at line 314 of file benchmark-pound.c.
| BENCHMARK_IMPL | ( | tcp4_pound_1000 | ) |
Definition at line 324 of file benchmark-pound.c.
|
static |
Definition at line 161 of file benchmark-pound.c.
|
static |
Definition at line 103 of file benchmark-pound.c.
|
static |
Definition at line 259 of file benchmark-pound.c.
|
static |
Definition at line 186 of file benchmark-pound.c.
|
static |
Definition at line 226 of file benchmark-pound.c.
|
static |
Definition at line 271 of file benchmark-pound.c.
|
static |
Definition at line 138 of file benchmark-pound.c.
|
static |
Definition at line 247 of file benchmark-pound.c.
|
static |
Definition at line 177 of file benchmark-pound.c.
|
static |
Definition at line 195 of file benchmark-pound.c.
|
static |
Definition at line 67 of file benchmark-pound.c.
|
static |
Definition at line 75 of file benchmark-pound.c.
|
static |
Definition at line 76 of file benchmark-pound.c.
|
static |
Definition at line 69 of file benchmark-pound.c.
|
static |
Definition at line 72 of file benchmark-pound.c.
|
static |
Definition at line 74 of file benchmark-pound.c.
|
static |
Definition at line 71 of file benchmark-pound.c.