Home | History | Annotate | Download | only in timers

Lines Matching refs:sample

40 struct sample {
56 static double get_sample(struct sample *sample)
78 sample->offset = diff_timespec(&ts2, &ts1);
79 sample->offset -= delay / 2.0;
80 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9;
119 static void regress(struct sample *samples, int n, double *intercept,
156 struct sample samples[SAMPLES];
214 struct sample sample;
232 precision = get_sample(&sample) / 2.0;