Lines Matching defs:sample
330 * @param sample The current sample
333 * @return The average including the current sample.
336 float sample,
339 return alpha * sample + (1.0 - alpha) * prev_avg;
343 * Update a stat with a new sample
349 float sample)
351 s->avg = tst_exp_moving_avg(alpha, sample, s->avg);
353 fabs(s->avg - sample), s->avg_dev);
358 * Update a stat with a new diff sample
448 * is below some proportion of the average sample magnitude, then the sampling
792 * the descriptor it takes much longer. The sample where recvmmsg() completes