Home | History | Annotate | Download | only in timers

Lines Matching defs:SAMPLES

28 #define SAMPLES 100
119 static void regress(struct sample *samples, int n, double *intercept,
128 x = samples[i].time;
129 y = samples[i].offset;
143 x = samples[i].time;
144 y = samples[i].offset;
156 struct sample samples[SAMPLES];
175 for (i = 0; i < SAMPLES; i++) {
177 get_sample(&samples[i]);
181 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1);
188 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1);
192 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope,