Lines Matching defs:data
323 /* allocate dynamic data */
1157 /* calculate how much data we've captured */
1258 (void) printf("# %12s %12d\n", "data dropped",
1310 crunch_stats(double *data, int count, stats_t *stats)
1329 mean += data[i];
1341 (void) memcpy(dupdata, data, bytes);
1346 * reuse dupdata to compute time correlation of data to
1353 (void) fit_line(dupdata, data, count, &a, &stats->st_timecorr);
1364 if (data[i] > stats->st_max)
1365 stats->st_max = data[i];
1366 if (data[i] < stats->st_min)
1367 stats->st_min = data[i];
1369 diff = data[i] - mean;
1435 double data[NSECITER];
1452 data[i] = getnsecs() - s;
1455 (void) crunch_stats(data, count, &stats);
1457 while ((outliers = remove_outliers(data, count, &stats)) != 0) {
1459 (void) crunch_stats(data, count, &stats);
1514 * now collect data at linearly varying intervals
1545 * remove any data points from the array more than 3 sigma out
1549 remove_outliers(double *data, int count, stats_t *stats)
1557 if (data[i] > outmax || data[i] < outmin)
1560 data[j++] = data[i];