SYMBOL INDEX (229 symbols across 20 files) FILE: src/ae.c function aeEventLoop (line 63) | aeEventLoop *aeCreateEventLoop(int setsize) { function aeGetSetSize (line 95) | int aeGetSetSize(aeEventLoop *eventLoop) { function aeResizeSetSize (line 106) | int aeResizeSetSize(aeEventLoop *eventLoop, int setsize) { function aeDeleteEventLoop (line 124) | void aeDeleteEventLoop(aeEventLoop *eventLoop) { function aeStop (line 131) | void aeStop(aeEventLoop *eventLoop) { function aeCreateFileEvent (line 135) | int aeCreateFileEvent(aeEventLoop *eventLoop, int fd, int mask, function aeDeleteFileEvent (line 155) | void aeDeleteFileEvent(aeEventLoop *eventLoop, int fd, int mask) function aeGetFileEvents (line 173) | int aeGetFileEvents(aeEventLoop *eventLoop, int fd) { function aeGetTime (line 180) | static void aeGetTime(long *seconds, long *milliseconds) function aeAddMillisecondsToNow (line 189) | static void aeAddMillisecondsToNow(long long milliseconds, long *sec, lo... function aeCreateTimeEvent (line 203) | long long aeCreateTimeEvent(aeEventLoop *eventLoop, long long milliseconds, function aeDeleteTimeEvent (line 222) | int aeDeleteTimeEvent(aeEventLoop *eventLoop, long long id) function aeTimeEvent (line 246) | static aeTimeEvent *aeSearchNearestTimer(aeEventLoop *eventLoop) function processTimeEvents (line 262) | static int processTimeEvents(aeEventLoop *eventLoop) { function aeProcessEvents (line 349) | int aeProcessEvents(aeEventLoop *eventLoop, int flags) function aeWait (line 430) | int aeWait(int fd, int mask, long long milliseconds) { function aeMain (line 450) | void aeMain(aeEventLoop *eventLoop) { function aeSetBeforeSleepProc (line 463) | void aeSetBeforeSleepProc(aeEventLoop *eventLoop, aeBeforeSleepProc *bef... FILE: src/ae.h type aeEventLoop (line 56) | struct aeEventLoop type aeEventLoop (line 59) | struct aeEventLoop type aeEventLoop (line 60) | struct aeEventLoop type aeEventLoop (line 61) | struct aeEventLoop type aeEventLoop (line 62) | struct aeEventLoop type aeFileEvent (line 65) | typedef struct aeFileEvent { type aeTimeEvent (line 73) | typedef struct aeTimeEvent { type aeFiredEvent (line 84) | typedef struct aeFiredEvent { type aeEventLoop (line 90) | typedef struct aeEventLoop { FILE: src/ae_epoll.c type aeApiState (line 34) | typedef struct aeApiState { function aeApiCreate (line 39) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 58) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 65) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiAddEvent (line 73) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 90) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int delmask) { function aeApiPoll (line 108) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: src/ae_evport.c type aeApiState (line 68) | typedef struct aeApiState { function aeApiCreate (line 75) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 97) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 102) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiLookupPending (line 109) | static int aeApiLookupPending(aeApiState *state, int fd) { function aeApiAssociate (line 123) | static int aeApiAssociate(const char *where, int portfd, int fd, int mas... function aeApiAddEvent (line 152) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 183) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiPoll (line 243) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: src/ae_kqueue.c type aeApiState (line 36) | typedef struct aeApiState { function aeApiCreate (line 41) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 60) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 67) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiAddEvent (line 75) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 90) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiPoll (line 104) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: src/ae_select.c type aeApiState (line 35) | typedef struct aeApiState { function aeApiCreate (line 42) | static int aeApiCreate(aeEventLoop *eventLoop) { function aeApiResize (line 52) | static int aeApiResize(aeEventLoop *eventLoop, int setsize) { function aeApiFree (line 58) | static void aeApiFree(aeEventLoop *eventLoop) { function aeApiAddEvent (line 62) | static int aeApiAddEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiDelEvent (line 70) | static void aeApiDelEvent(aeEventLoop *eventLoop, int fd, int mask) { function aeApiPoll (line 77) | static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) { FILE: src/http_parser.c type state (line 276) | enum state type header_states (line 360) | enum header_states type http_host_state (line 390) | enum http_host_state function parse_url_char (line 483) | static enum state function http_parser_execute (line 631) | size_t http_parser_execute (http_parser *parser, function http_message_needs_eof (line 2033) | int function http_should_keep_alive (line 2056) | int type http_method (line 2076) | enum http_method function http_parser_init (line 2082) | void function http_parser_settings_init (line 2093) | void type http_errno (line 2100) | enum http_errno type http_errno (line 2106) | enum http_errno function http_parse_host_char (line 2111) | static enum http_host_state function http_parse_host (line 2193) | static int function http_parser_url_init (line 2275) | void function http_parser_parse_url (line 2280) | int function http_parser_pause (line 2384) | void function http_body_is_final (line 2398) | int function http_parser_version (line 2403) | unsigned long FILE: src/http_parser.h type __int8 (line 36) | typedef __int8 int8_t; type __int16 (line 38) | typedef __int16 int16_t; type __int32 (line 40) | typedef __int32 int32_t; type __int64 (line 42) | typedef __int64 int64_t; type http_parser (line 66) | typedef struct http_parser http_parser; type http_parser_settings (line 67) | typedef struct http_parser_settings http_parser_settings; type http_status (line 154) | enum http_status type http_method (line 205) | enum http_method type http_parser_type (line 213) | enum http_parser_type { HTTP_REQUEST, HTTP_RESPONSE, HTTP_BOTH } type flags (line 217) | enum flags type http_errno (line 281) | enum http_errno { type http_parser (line 291) | struct http_parser { type http_parser_settings (line 322) | struct http_parser_settings { type http_parser_url_fields (line 339) | enum http_parser_url_fields type http_parser_url (line 358) | struct http_parser_url { type http_parser_type (line 381) | enum http_parser_type type http_method (line 406) | enum http_method type http_errno (line 409) | enum http_errno type http_errno (line 412) | enum http_errno type http_parser_url (line 415) | struct http_parser_url type http_parser_url (line 420) | struct http_parser_url FILE: src/main.h type config (line 28) | struct config type config (line 47) | struct config type http_parser_url (line 47) | struct http_parser_url type http_parser_url (line 48) | struct http_parser_url type http_parser_url_fields (line 48) | enum http_parser_url_fields FILE: src/net.c function status (line 9) | status sock_connect(connection *c, char *host) { function status (line 13) | status sock_close(connection *c) { function status (line 17) | status sock_read(connection *c, size_t *n) { function status (line 23) | status sock_write(connection *c, char *buf, size_t len, size_t *n) { function sock_readable (line 35) | size_t sock_readable(connection *c) { FILE: src/net.h type status (line 9) | typedef enum { type sock (line 15) | struct sock { FILE: src/script.c type table_field (line 9) | typedef struct { type http_parser_url (line 27) | struct http_parser_url type http_parser_url_fields (line 27) | enum http_parser_url_fields type luaL_Reg (line 29) | struct luaL_Reg type luaL_Reg (line 35) | struct luaL_Reg type luaL_Reg (line 42) | struct luaL_Reg function lua_State (line 48) | lua_State *script_create(char *file, char *url, char **headers) { function script_resolve (line 101) | bool script_resolve(lua_State *L, char *host, char *service) { function script_push_thread (line 115) | void script_push_thread(lua_State *L, thread *t) { function script_init (line 122) | void script_init(lua_State *L, thread *t, int argc, char **argv) { function script_delay (line 144) | uint64_t script_delay(lua_State *L) { function script_request (line 152) | void script_request(lua_State *L, char **buf, size_t *len) { function script_response (line 167) | void script_response(lua_State *L, int status, buffer *headers, buffer *... function script_is_function (line 185) | bool script_is_function(lua_State *L, char *name) { function script_is_static (line 192) | bool script_is_static(lua_State *L) { function script_want_response (line 196) | bool script_want_response(lua_State *L) { function script_has_delay (line 200) | bool script_has_delay(lua_State *L) { function script_has_done (line 204) | bool script_has_done(lua_State *L) { function script_header_done (line 208) | void script_header_done(lua_State *L, luaL_Buffer *buffer) { function script_summary (line 212) | void script_summary(lua_State *L, uint64_t duration, uint64_t requests, ... function script_errors (line 223) | void script_errors(lua_State *L, errors *errors) { function script_push_stats (line 244) | void script_push_stats(lua_State *L, stats *s) { function script_done (line 251) | void script_done(lua_State *L, stats *latency, stats *requests) { function verify_request (line 262) | static int verify_request(http_parser *parser) { function script_verify_request (line 268) | size_t script_verify_request(lua_State *L) { type addrinfo (line 303) | struct addrinfo type addrinfo (line 304) | struct addrinfo function script_addr_copy (line 309) | void script_addr_copy(struct addrinfo *src, struct addrinfo *dst) { type addrinfo (line 315) | struct addrinfo type addrinfo (line 315) | struct addrinfo type addrinfo (line 316) | struct addrinfo function script_addr_tostring (line 323) | static int script_addr_tostring(lua_State *L) { function script_addr_gc (line 339) | static int script_addr_gc(lua_State *L) { function stats (line 345) | static stats *checkstats(lua_State *L) { function script_stats_percentile (line 351) | static int script_stats_percentile(lua_State *L) { function script_stats_call (line 358) | static int script_stats_call(lua_State *L) { function script_stats_index (line 367) | static int script_stats_index(lua_State *L) { function script_stats_len (line 380) | static int script_stats_len(lua_State *L) { function thread (line 386) | static thread *checkthread(lua_State *L) { function script_thread_get (line 392) | static int script_thread_get(lua_State *L) { function script_thread_set (line 401) | static int script_thread_set(lua_State *L) { function script_thread_stop (line 409) | static int script_thread_stop(lua_State *L) { function script_thread_index (line 415) | static int script_thread_index(lua_State *L) { function script_thread_newindex (line 425) | static int script_thread_newindex(lua_State *L) { function script_wrk_lookup (line 439) | static int script_wrk_lookup(lua_State *L) { function script_wrk_connect (line 466) | static int script_wrk_connect(lua_State *L) { function script_copy_value (line 477) | void script_copy_value(lua_State *src, lua_State *dst, int index) { function script_parse_url (line 507) | int script_parse_url(char *url, struct http_parser_url *parts) { function push_url_part (line 516) | static int push_url_part(lua_State *L, char *url, struct http_parser_url... function set_field (line 531) | static void set_field(lua_State *L, int index, char *field, int type) { function set_fields (line 536) | static void set_fields(lua_State *L, int index, const table_field *field... function buffer_append (line 557) | void buffer_append(buffer *b, const char *data, size_t len) { function buffer_reset (line 568) | void buffer_reset(buffer *b) { FILE: src/script.h type http_parser_url (line 32) | struct http_parser_url FILE: src/ssl.c function SSL_CTX (line 11) | SSL_CTX *ssl_init() { function status (line 28) | status ssl_connect(connection *c, char *host) { function status (line 42) | status ssl_close(connection *c) { function status (line 48) | status ssl_read(connection *c, size_t *n) { function status (line 61) | status ssl_write(connection *c, char *buf, size_t len, size_t *n) { function ssl_readable (line 74) | size_t ssl_readable(connection *c) { FILE: src/stats.c function stats (line 10) | stats *stats_alloc(uint64_t max) { function stats_free (line 18) | void stats_free(stats *stats) { function stats_record (line 22) | int stats_record(stats *stats, uint64_t n) { function stats_correct (line 33) | void stats_correct(stats *stats, int64_t expected) { function stats_mean (line 45) | long double stats_mean(stats *stats) { function stats_stdev (line 55) | long double stats_stdev(stats *stats, long double mean) { function stats_within_stdev (line 66) | long double stats_within_stdev(stats *stats, long double mean, long doub... function stats_percentile (line 80) | uint64_t stats_percentile(stats *stats, long double p) { function stats_popcount (line 90) | uint64_t stats_popcount(stats *stats) { function stats_value_at (line 98) | uint64_t stats_value_at(stats *stats, uint64_t index, uint64_t *count) { FILE: src/stats.h type errors (line 10) | typedef struct { type stats (line 18) | typedef struct { FILE: src/units.c type units (line 11) | typedef struct { function scan_units (line 58) | static int scan_units(char *s, uint64_t *n, units *m) { function scan_metric (line 98) | int scan_metric(char *s, uint64_t *n) { function scan_time (line 102) | int scan_time(char *s, uint64_t *n) { FILE: src/wrk.c type config (line 7) | struct config { type sock (line 26) | struct sock type http_parser_settings (line 34) | struct http_parser_settings function handler (line 40) | static void handler(int sig) { function usage (line 44) | static void usage() { function main (line 61) | int main(int argc, char **argv) { function connect_socket (line 236) | static int connect_socket(thread *thread, connection *c) { function reconnect_socket (line 266) | static int reconnect_socket(thread *thread, connection *c) { function record_rate (line 273) | static int record_rate(aeEventLoop *loop, long long id, void *data) { function delay_request (line 291) | static int delay_request(aeEventLoop *loop, long long id, void *data) { function header_field (line 298) | static int header_field(http_parser *parser, const char *at, size_t len) { function header_value (line 308) | static int header_value(http_parser *parser, const char *at, size_t len) { function response_body (line 318) | static int response_body(http_parser *parser, const char *at, size_t len) { function response_complete (line 324) | static int response_complete(http_parser *parser) { function socket_connected (line 362) | static void socket_connected(aeEventLoop *loop, int fd, void *data, int ... function socket_writeable (line 384) | static void socket_writeable(aeEventLoop *loop, int fd, void *data, int ... function socket_readable (line 426) | static void socket_readable(aeEventLoop *loop, int fd, void *data, int m... function time_us (line 450) | static uint64_t time_us() { type http_parser_url (line 456) | struct http_parser_url type http_parser_url_fields (line 456) | enum http_parser_url_fields type option (line 469) | struct option function parse_args (line 482) | static int parse_args(struct config *cfg, char **url, struct http_parser... function print_stats_header (line 546) | static void print_stats_header() { function print_units (line 550) | static void print_units(long double n, char *(*fmt)(long double), int wi... function print_stats (line 563) | static void print_stats(char *name, stats *stats, char *(*fmt)(long doub... function print_stats_latency (line 575) | static void print_stats_latency(stats *stats) { FILE: src/wrk.h type thread (line 27) | typedef struct { type buffer (line 41) | typedef struct { type connection (line 47) | typedef struct connection { FILE: src/zmalloc.c function zlibc_free (line 38) | void zlibc_free(void *ptr) { function zmalloc_default_oom (line 88) | static void zmalloc_default_oom(size_t size) { function zfree_no_tcache (line 122) | void zfree_no_tcache(void *ptr) { function zmalloc_size (line 176) | size_t zmalloc_size(void *ptr) { function zfree (line 186) | void zfree(void *ptr) { function zmalloc_used_memory (line 212) | size_t zmalloc_used_memory(void) { function zmalloc_set_oom_handler (line 218) | void zmalloc_set_oom_handler(void (*oom_handler)(size_t)) { function zmalloc_get_rss (line 238) | size_t zmalloc_get_rss(void) { function zmalloc_get_rss (line 278) | size_t zmalloc_get_rss(void) { function zmalloc_get_rss (line 290) | size_t zmalloc_get_rss(void) { function zmalloc_get_fragmentation_ratio (line 301) | float zmalloc_get_fragmentation_ratio(size_t rss) { function zmalloc_get_smap_bytes_by_field (line 316) | size_t zmalloc_get_smap_bytes_by_field(char *field, long pid) { function zmalloc_get_smap_bytes_by_field (line 344) | size_t zmalloc_get_smap_bytes_by_field(char *field, long pid) { function zmalloc_get_private_dirty (line 351) | size_t zmalloc_get_private_dirty(long pid) { function zmalloc_get_memory_size (line 368) | size_t zmalloc_get_memory_size(void) {