struct tapi_wrk_app

Overview

Information of a wrk tool More…

#include <tapi_wrk.h>

struct tapi_wrk_app {
    // fields

    tapi_job_t* job;
    tapi_job_channel_t* out_chs[2];
    tapi_job_channel_t* std_out;
    tapi_job_channel_t* std_err;
    tapi_job_channel_t* bps_filter;
    tapi_job_channel_t* req_count_filter;
    tapi_job_channel_t* req_total_filter;
    tapi_job_channel_t* lat_filter;
    tapi_job_channel_t* req_filter;
    tapi_job_channel_t* lat_distr_filter;
    tapi_job_channel_t* unexpected_resp_filter;
    tapi_job_channel_t* socket_errors_filter;
    te_vec wrk_args;
};

Detailed Documentation

Information of a wrk tool

Fields

tapi_job_t* job

TAPI job handle

tapi_job_channel_t* out_chs[2]

Output channel handles

tapi_job_channel_t* std_out

wrk stdout content.

tapi_job_channel_t* std_err

wrk stderr content.

tapi_job_channel_t* bps_filter

Bytes per second filter

tapi_job_channel_t* req_count_filter

Requests count filter (total)

tapi_job_channel_t* req_total_filter

Total requests filter (per second)

tapi_job_channel_t* lat_filter

Latency per thread filter

tapi_job_channel_t* req_filter

Requests per thread filter

tapi_job_channel_t* lat_distr_filter

Latency distribution filter

tapi_job_channel_t* unexpected_resp_filter

Non-2xx or 3xx responses filter

tapi_job_channel_t* socket_errors_filter

Socket errors filter

te_vec wrk_args

Arguents that are used when running the tool