• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /xnu-2782.1.97/tools/tests/libMicro/

Lines Matching refs:count

1172 print_bar(long count, long total)
1176 (void) putchar_unlocked(count ? '*' : ' ');
1177 for (i = 1; i < (32 * count) / total; i++)
1209 long long count;
1252 histo[i].count = 0;
1258 count = 0;
1268 histo[j].count++;
1271 count++;
1273 m95 = sum / count;
1278 if (histo[i].count > 0) {
1280 if (histo[i].count > maxcount)
1281 maxcount = histo[i].count;
1286 (void) printf("# %12lld %12.5f |", histo[i].count,
1289 print_bar(histo[i].count, maxcount);
1291 if (histo[i].count > 0)
1293 histo[i].sum / histo[i].count);
1300 count = 0;
1303 count++;
1308 (void) printf("# %12lld %12s |", count, "> 95%");
1309 print_bar(count, maxcount);
1310 if (count > 0)
1311 (void) printf("%12.5f\n", sum / count);
1372 crunch_stats(double *data, int count, stats_t *stats)
1390 for (i = 0; i < count; i++) {
1394 mean /= count;
1402 dupdata = malloc(bytes = sizeof (double) * count);
1404 qsort((void *)dupdata, count, sizeof (double), doublecmp);
1405 stats->st_median = dupdata[count/2];
1412 for (i = 0; i < count; i++)
1415 (void) fit_line(dupdata, data, count, &a, &stats->st_timecorr);
1425 for (i = 0; i < count; i++) {
1437 stats->st_stddev = std = sqrt(std/(double)(count - 1));
1438 stats->st_stderr = std / sqrt(count);
1440 stats->st_skew = sk / (std * std * std) / (double)(count);
1442 (double)(count) - 3;
1453 fit_line(double *x, double *y, int count, double *a, double *b)
1461 for (i = 0; i < count; i++) {
1468 denom = count * sumx2 - sumx * sumx;
1475 *b = (count * sumxy - sumx * sumy) / denom;
1501 int count;
1510 count = NSECITER;
1512 for (i = 0; i < count; i++) {
1517 (void) crunch_stats(data, count, &stats);
1519 while ((outliers = remove_outliers(data, count, &stats)) != 0) {
1520 count -= outliers;
1521 (void) crunch_stats(data, count, &stats);
1594 remove_outliers(double *data, int count, stats_t *stats)
1601 for (outliers = i = j = 0; i < count; i++)