Home
last modified time | relevance | path

Searched refs:nclients (Results 1 – 3 of 3) sorted by relevance

/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/
Dminimal-ws-client.c11 static int nclients = 11; variable
57 for (n = 0; n < nclients; n++) in callback()
64 if(--nclients == 0) interrupted = 1; in callback()
77 if(--nclients == 0) interrupted = 1; in callback()
194 if (n < nclients) in main()
195 nclients = n; in main()
196 lwsl_notice("Start test clients: %d\n", nclients); in main()
209 info.fd_limit_per_thread = (unsigned int)(1 + nclients + 1); in main()
/third_party/nghttp2/src/
Dh2load.cc109 nclients(1), in Config()
171 Stats::Stats(size_t req_todo, size_t nclients) in Stats() argument
252 auto conns_remaining = worker->nclients - worker->nconns_made; in rate_period_timeout_w_cb()
253 auto nclients = std::min(nclients_per_second, conns_remaining); in rate_period_timeout_w_cb() local
255 for (size_t i = 0; i < nclients; ++i) { in rate_period_timeout_w_cb()
279 if (worker->nconns_made >= worker->nclients) { in rate_period_timeout_w_cb()
284 assert(worker->nclients == worker->clients.size()); in rate_period_timeout_w_cb()
1541 Worker::Worker(uint32_t id, SSL_CTX *ssl_ctx, size_t req_todo, size_t nclients, in Worker() argument
1544 stats(req_todo, nclients), in Worker()
1552 nclients(nclients), in Worker()
[all …]
Dh2load.h92 size_t nclients; member
208 Stats(size_t req_todo, size_t nclients);
288 size_t nclients; member
309 Worker(uint32_t id, SSL_CTX *ssl_ctx, size_t nreq_todo, size_t nclients,