Lines Matching defs:requests

47    **      in situations where a server is dropping requests. Therefore you can
207 /* maximum number of requests on a time limited test */
272 int requests = 1; /* Number of requests to make */
274 int concurrency = 1; /* Number of multiple requests to make */
321 int started = 0; /* number of requests started, so no excess */
322 int done = 0; /* number of requests we have done */
324 int good = 0, bad = 0; /* number of good and bad requests */
326 int err_length = 0; /* requests failed due to response length */
327 int err_conn = 0; /* requests failed due to connection drop */
328 int err_recv = 0; /* requests failed due to broken read */
329 int err_except = 0; /* requests failed due to exception */
330 int err_response = 0; /* requests with invalid or non-200 response */
378 printf("Total of %d requests completed\n" , done);
392 printf("Total of %d requests completed\n" , done);
705 if (started >= requests) {
836 printf("Complete requests: %d\n", done);
837 printf("Failed requests: %d\n", bad);
846 printf("Keep-Alive requests: %d\n", doneka);
859 printf("Time per request: %.3f [ms] (mean, across all concurrent requests)\n",
1024 printf("\nPercentage of the requests served within a certain time (ms)\n");
1118 printf("<tr %s><th colspan=2 %s>Complete requests:</th>"
1121 printf("<tr %s><th colspan=2 %s>Failed requests:</th>"
1132 printf("<tr %s><th colspan=2 %s>Keep-Alive requests:</th>"
1226 if (!(started < requests))
1360 if (done < requests) {
1368 fprintf(stderr, "Completed %d requests\n", done);
1600 * address is working, so initialize all remaining requests. */
1628 if (done < requests) {
1637 fprintf(stderr, "Completed %d requests\n", done);
1689 * XXX: a way to calculate the stats without requiring O(requests) memory
1692 stats = xcalloc(requests, sizeof(struct data));
1910 } while (lasttime < stoptime && done < requests);
1913 fprintf(stderr, "Finished %d requests\n", done);
1954 fprintf(stderr, " -n requests Number of requests to perform\n");
1955 fprintf(stderr, " -c concurrency Number of multiple requests to make at a time\n");
1985 fprintf(stderr, " -q Do not show progress when doing more than 150 requests\n");
2176 requests = atoi(opt_arg);
2177 if (requests <= 0) {
2178 err("Invalid number of requests\n");
2242 requests = MAX_REQUESTS; /* need to size data array on
2389 if (concurrency > requests) {
2391 "total number of requests\n", argv[0]);
2395 if ((heartbeatres) && (requests > 150)) {
2396 heartbeatres = requests / 10; /* Print line every 10% of requests */