• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/apache-793/httpd/support/

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 */
377 printf("Total of %d requests completed\n" , done);
391 printf("Total of %d requests completed\n" , done);
704 if (started >= requests) {
834 printf("Complete requests: %d\n", done);
835 printf("Failed requests: %d\n", bad);
844 printf("Keep-Alive requests: %d\n", doneka);
857 printf("Time per request: %.3f [ms] (mean, across all concurrent requests)\n",
1022 printf("\nPercentage of the requests served within a certain time (ms)\n");
1116 printf("<tr %s><th colspan=2 %s>Complete requests:</th>"
1119 printf("<tr %s><th colspan=2 %s>Failed requests:</th>"
1130 printf("<tr %s><th colspan=2 %s>Keep-Alive requests:</th>"
1224 if (!(started < requests))
1352 if (done < requests) {
1360 fprintf(stderr, "Completed %d requests\n", done);
1595 if (done < requests) {
1604 fprintf(stderr, "Completed %d requests\n", done);
1656 * XXX: a way to calculate the stats without requiring O(requests) memory
1659 stats = xcalloc(requests, sizeof(struct data));
1779 /* initialise lots of requests */
1872 } while (lasttime < stoptime && done < requests);
1875 fprintf(stderr, "Finished %d requests\n", done);
1916 fprintf(stderr, " -n requests Number of requests to perform\n");
1917 fprintf(stderr, " -c concurrency Number of multiple requests to make at a time\n");
1947 fprintf(stderr, " -q Do not show progress when doing more than 150 requests\n");
2137 requests = atoi(opt_arg);
2138 if (requests <= 0) {
2139 err("Invalid number of requests\n");
2203 requests = MAX_REQUESTS; /* need to size data array on
2346 if (concurrency > requests) {
2348 "total number of requests\n", argv[0]);
2352 if ((heartbeatres) && (requests > 150)) {
2353 heartbeatres = requests / 10; /* Print line every 10% of requests */