Searched refs:idx_min (Results 1 – 1 of 1) sorted by relevance
317 unsigned i, idx_cur, idx_new, idx_min; in manager_sample_spike_detection() local338 for (idx_min = idx_cur, i = 0; i < ELEMENTSOF(m->samples); i++) in manager_sample_spike_detection()339 if (m->samples[i].delay > 0 && m->samples[i].delay < m->samples[idx_min].delay) in manager_sample_spike_detection()340 idx_min = i; in manager_sample_spike_detection()344 j += pow(m->samples[i].offset - m->samples[idx_min].offset, 2); in manager_sample_spike_detection()360 if (fabs(offset) > m->samples[idx_min].delay) in manager_sample_spike_detection()