Searched refs:idx_min (Results 1 - 1 of 1) sorted by relevance

/systemd/src/timesync/
H A Dtimesyncd-manager.c393 unsigned int i, idx_cur, idx_new, idx_min; local
414 for (idx_min = idx_cur, i = 0; i < ELEMENTSOF(m->samples); i++)
415 if (m->samples[i].delay > 0 && m->samples[i].delay < m->samples[idx_min].delay)
416 idx_min = i;
420 j += pow(m->samples[i].offset - m->samples[idx_min].offset, 2);
436 if (fabs(offset) > m->samples[idx_min].delay)

Completed in 1336 milliseconds