Searched refs:nsocks (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dresperf.c108 static unsigned int nsocks; variable
247 nsocks = 1;
297 &nsocks);
304 if (max_outstanding > nsocks * DEFAULT_MAX_OUTSTANDING)
339 socks = isc_mem_get(mctx, nsocks * sizeof(int));
342 for (i = 0; i < nsocks; i++)
354 for (i = 0; i < nsocks; i++)
356 isc_mem_put(mctx, socks, nsocks * sizeof(int));
475 qid = (q - queries) / nsocks;
476 sock = (q - queries) % nsocks;
[all...]
H A Ddnsperf.c165 unsigned int nsocks; member in struct:__anon58
630 q->sock = tinfo->socks[tinfo->current_sock++ % tinfo->nsocks];
831 for (j = 0; j < tinfo->nsocks; j++) {
833 tinfo->nsocks;
848 if (j == tinfo->nsocks)
923 tinfo->nsocks,
1040 tinfo->nsocks = per_thread(config->clients, config->threads, offset);
1048 if (tinfo->nsocks > MAX_SOCKETS)
1049 tinfo->nsocks = MAX_SOCKETS;
1051 tinfo->socks = isc_mem_get(mctx, tinfo->nsocks * sizeo
[all...]

Completed in 16 milliseconds