Go to the source code of this file.
Classes | |
struct | buf_list_s |
struct | req_list_s |
Macros | |
#define | MAX_SIMULTANEOUS_CONNECTS 100 |
#define | MAX_WRITE_HANDLES 1000 |
#define | PRINT_STATS 0 |
#define | STATS_COUNT 5 |
#define | STATS_INTERVAL 1000 /* msec */ |
#define | WRITE_BUFFER_SIZE 8192 |
Typedefs | |
typedef struct buf_list_s | buf_list_t |
typedef struct req_list_s | req_list_t |
Variables | |
static buf_list_t * | buf_freelist = NULL |
static struct sockaddr_in | connect_addr |
static struct sockaddr_in | listen_addr |
static uv_loop_t * | loop |
static int | max_connect_socket = 0 |
static int | max_read_sockets = 0 |
static int64_t | nrecv = 0 |
static int64_t | nrecv_total = 0 |
static int64_t | nsent = 0 |
static int64_t | nsent_total = 0 |
static uv_pipe_t | pipe_write_handles [MAX_WRITE_HANDLES] |
static uv_pipe_t | pipeServer |
static int | read_sockets = 0 |
static req_list_t * | req_freelist = NULL |
static uv_stream_t * | server |
static int64_t | start_time |
static int | stats_left = 0 |
static int | TARGET_CONNECTIONS |
static uv_tcp_t | tcp_write_handles [MAX_WRITE_HANDLES] |
static uv_tcp_t | tcpServer |
static uv_timer_t | timer_handle |
static stream_type | type |
static char | write_buffer [WRITE_BUFFER_SIZE] |
static int | write_sockets = 0 |
#define MAX_SIMULTANEOUS_CONNECTS 100 |
Definition at line 31 of file benchmark-pump.c.
#define MAX_WRITE_HANDLES 1000 |
Definition at line 72 of file benchmark-pump.c.
#define PRINT_STATS 0 |
Definition at line 33 of file benchmark-pump.c.
#define STATS_COUNT 5 |
Definition at line 35 of file benchmark-pump.c.
#define STATS_INTERVAL 1000 /* msec */ |
Definition at line 34 of file benchmark-pump.c.
#define WRITE_BUFFER_SIZE 8192 |
Definition at line 30 of file benchmark-pump.c.
typedef struct buf_list_s buf_list_t |
typedef struct req_list_s req_list_t |
BENCHMARK_IMPL | ( | pipe_pump100_client | ) |
Definition at line 467 of file benchmark-pump.c.
BENCHMARK_IMPL | ( | pipe_pump1_client | ) |
Definition at line 473 of file benchmark-pump.c.
BENCHMARK_IMPL | ( | tcp_pump100_client | ) |
Definition at line 455 of file benchmark-pump.c.
BENCHMARK_IMPL | ( | tcp_pump1_client | ) |
Definition at line 461 of file benchmark-pump.c.
|
static |
Definition at line 353 of file benchmark-pump.c.
Definition at line 369 of file benchmark-pump.c.
|
static |
Definition at line 216 of file benchmark-pump.c.
|
static |
Definition at line 277 of file benchmark-pump.c.
|
static |
Definition at line 202 of file benchmark-pump.c.
Definition at line 82 of file benchmark-pump.c.
HELPER_IMPL | ( | pipe_pump_server | ) |
Definition at line 399 of file benchmark-pump.c.
HELPER_IMPL | ( | tcp_pump_server | ) |
Definition at line 376 of file benchmark-pump.c.
|
static |
Definition at line 244 of file benchmark-pump.c.
|
static |
Definition at line 439 of file benchmark-pump.c.
|
static |
Definition at line 171 of file benchmark-pump.c.
|
static |
Definition at line 127 of file benchmark-pump.c.
|
static |
Definition at line 142 of file benchmark-pump.c.
|
static |
Definition at line 318 of file benchmark-pump.c.
|
static |
Definition at line 332 of file benchmark-pump.c.
|
static |
Definition at line 88 of file benchmark-pump.c.
|
static |
Definition at line 156 of file benchmark-pump.c.
|
static |
Definition at line 421 of file benchmark-pump.c.
|
static |
Definition at line 190 of file benchmark-pump.c.
|
static |
Definition at line 350 of file benchmark-pump.c.
|
static |
Definition at line 53 of file benchmark-pump.c.
|
static |
Definition at line 52 of file benchmark-pump.c.
|
static |
Definition at line 47 of file benchmark-pump.c.
|
static |
Definition at line 57 of file benchmark-pump.c.
|
static |
Definition at line 58 of file benchmark-pump.c.
|
static |
Definition at line 62 of file benchmark-pump.c.
|
static |
Definition at line 63 of file benchmark-pump.c.
|
static |
Definition at line 64 of file benchmark-pump.c.
|
static |
Definition at line 65 of file benchmark-pump.c.
|
static |
Definition at line 77 of file benchmark-pump.c.
|
static |
Definition at line 50 of file benchmark-pump.c.
|
static |
Definition at line 59 of file benchmark-pump.c.
|
static |
Definition at line 315 of file benchmark-pump.c.
|
static |
Definition at line 51 of file benchmark-pump.c.
|
static |
Definition at line 55 of file benchmark-pump.c.
|
static |
Definition at line 67 of file benchmark-pump.c.
|
static |
Definition at line 29 of file benchmark-pump.c.
|
static |
Definition at line 76 of file benchmark-pump.c.
|
static |
Definition at line 49 of file benchmark-pump.c.
|
static |
Definition at line 79 of file benchmark-pump.c.
|
static |
Definition at line 74 of file benchmark-pump.c.
|
static |
Definition at line 69 of file benchmark-pump.c.
|
static |
Definition at line 60 of file benchmark-pump.c.