Lines Matching refs:count

1110 print_bar(long count, long total)
1114 (void) putchar_unlocked(count ? '*' : ' ');
1115 for (i = 1; i < (32 * count) / total; i++)
1147 long long count;
1190 histo[i].count = 0;
1196 count = 0;
1206 histo[j].count++;
1209 count++;
1211 m95 = sum / count;
1216 if (histo[i].count > 0) {
1218 if (histo[i].count > maxcount)
1219 maxcount = histo[i].count;
1224 (void) printf("# %12lld %12.5f |", histo[i].count,
1227 print_bar(histo[i].count, maxcount);
1229 if (histo[i].count > 0)
1231 histo[i].sum / histo[i].count);
1238 count = 0;
1241 count++;
1246 (void) printf("# %12lld %12s |", count, "> 95%");
1247 print_bar(count, maxcount);
1248 if (count > 0)
1249 (void) printf("%12.5f\n", sum / count);
1310 crunch_stats(double *data, int count, stats_t *stats)
1328 for (i = 0; i < count; i++) {
1332 mean /= count;
1340 dupdata = malloc(bytes = sizeof (double) * count);
1342 qsort((void *)dupdata, count, sizeof (double), doublecmp);
1343 stats->st_median = dupdata[count/2];
1350 for (i = 0; i < count; i++)
1353 (void) fit_line(dupdata, data, count, &a, &stats->st_timecorr);
1363 for (i = 0; i < count; i++) {
1375 stats->st_stddev = std = sqrt(std/(double)(count - 1));
1376 stats->st_stderr = std / sqrt(count);
1378 stats->st_skew = sk / (std * std * std) / (double)(count);
1380 (double)(count) - 3;
1391 fit_line(double *x, double *y, int count, double *a, double *b)
1399 for (i = 0; i < count; i++) {
1406 denom = count * sumx2 - sumx * sumx;
1413 *b = (count * sumxy - sumx * sumy) / denom;
1439 int count;
1448 count = NSECITER;
1450 for (i = 0; i < count; i++) {
1455 (void) crunch_stats(data, count, &stats);
1457 while ((outliers = remove_outliers(data, count, &stats)) != 0) {
1458 count -= outliers;
1459 (void) crunch_stats(data, count, &stats);
1549 remove_outliers(double *data, int count, stats_t *stats)
1556 for (outliers = i = j = 0; i < count; i++)