Go to the source code of this file.
Macros | |
#define | OUTPUT_SIZE 1024 |
Functions | |
BENCHMARK_IMPL (spawn) | |
static void | exit_cb (uv_process_t *process, int64_t exit_status, int term_signal) |
static void | maybe_spawn (void) |
static void | on_alloc (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
static void | on_read (uv_stream_t *pipe, ssize_t nread, const uv_buf_t *buf) |
static void | pipe_close_cb (uv_handle_t *pipe) |
static void | process_close_cb (uv_handle_t *handle) |
static void | spawn (void) |
Variables | |
static char * | args [3] |
static int | done |
static char | exepath [1024] |
static size_t | exepath_size = 1024 |
static uv_loop_t * | loop |
static int | N = 1000 |
static uv_process_options_t | options |
static uv_pipe_t | out |
static char | output [OUTPUT_SIZE] |
static int | output_used |
static int | pipe_open |
static uv_process_t | process |
static int | process_open |
#define OUTPUT_SIZE 1024 |
Definition at line 39 of file benchmark-spawn.c.
BENCHMARK_IMPL | ( | spawn | ) |
Definition at line 137 of file benchmark-spawn.c.
|
static |
Definition at line 67 of file benchmark-spawn.c.
|
static |
Definition at line 50 of file benchmark-spawn.c.
|
static |
Definition at line 76 of file benchmark-spawn.c.
|
static |
Definition at line 91 of file benchmark-spawn.c.
|
static |
Definition at line 84 of file benchmark-spawn.c.
|
static |
Definition at line 60 of file benchmark-spawn.c.
|
static |
Definition at line 103 of file benchmark-spawn.c.
|
static |
Definition at line 36 of file benchmark-spawn.c.
|
static |
Definition at line 30 of file benchmark-spawn.c.
|
static |
Definition at line 34 of file benchmark-spawn.c.
|
static |
Definition at line 35 of file benchmark-spawn.c.
|
static |
Definition at line 27 of file benchmark-spawn.c.
|
static |
Definition at line 29 of file benchmark-spawn.c.
|
static |
Definition at line 33 of file benchmark-spawn.c.
|
static |
Definition at line 37 of file benchmark-spawn.c.
|
static |
Definition at line 40 of file benchmark-spawn.c.
|
static |
Definition at line 41 of file benchmark-spawn.c.
|
static |
Definition at line 44 of file benchmark-spawn.c.
|
static |
Definition at line 32 of file benchmark-spawn.c.
|
static |
Definition at line 43 of file benchmark-spawn.c.