Searched refs:idx_cur (Results 1 – 1 of 1) sorted by relevance
317 unsigned i, idx_cur, idx_new, idx_min; in manager_sample_spike_detection() local330 idx_cur = m->samples_idx; in manager_sample_spike_detection()331 idx_new = (idx_cur + 1) % ELEMENTSOF(m->samples); in manager_sample_spike_detection()338 for (idx_min = idx_cur, i = 0; i < ELEMENTSOF(m->samples); i++) in manager_sample_spike_detection()364 return fabs(offset - m->samples[idx_cur].offset) > 3 * jitter; in manager_sample_spike_detection()