Lines Matching defs:stats

355 struct data *stats;         /* data for each request */
883 struct data *s = &stats[i];
906 struct data *s = &stats[i];
928 qsort(stats, done, sizeof(struct data),
931 mediancon = (stats[done / 2].ctime + stats[done / 2 + 1].ctime) / 2;
933 mediancon = stats[done / 2].ctime;
935 qsort(stats, done, sizeof(struct data),
938 mediand = (stats[done / 2].time + stats[done / 2 + 1].time \
939 -stats[done / 2].ctime - stats[done / 2 + 1].ctime) / 2;
941 mediand = stats[done / 2].time - stats[done / 2].ctime;
943 qsort(stats, done, sizeof(struct data),
946 medianwait = (stats[done / 2].waittime + stats[done / 2 + 1].waittime) / 2;
948 medianwait = stats[done / 2].waittime;
950 qsort(stats, done, sizeof(struct data),
953 mediantot = (stats[done / 2].time + stats[done / 2 + 1].time) / 2;
955 mediantot = stats[done / 2].time;
959 * Reduce stats from apr time to milliseconds
1030 ap_round_ms(stats[done - 1].time));
1033 ap_round_ms(stats[(unsigned long)done * percs[i] / 100].time));
1046 t = ap_double_ms(stats[0].time);
1048 t = ap_double_ms(stats[done - 1].time);
1050 t = ap_double_ms(stats[(unsigned long) (0.5 + (double)done * i / 100.0)].time);
1064 (void) apr_ctime(tmstring, stats[i].starttime);
1068 apr_time_sec(stats[i].starttime),
1069 ap_round_ms(stats[i].ctime),
1070 ap_round_ms(stats[i].time - stats[i].ctime),
1071 ap_round_ms(stats[i].time),
1072 ap_round_ms(stats[i].waittime));
1174 struct data *s = &stats[i];
1183 * Reduce stats from apr time to milliseconds
1339 /* close down connection and save stats */
1361 struct data *s = &stats[done++];
1629 struct data *s = &stats[done++];
1689 * XXX: a way to calculate the stats without requiring O(requests) memory
1692 stats = xcalloc(requests, sizeof(struct data));