Searched defs:idx_cur (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
406 idx_cur = m->samples_idx;
407 idx_new = (idx_cur + 1) % ELEMENTSOF(m->samples);
414 for (idx_min = idx_cur, i = 0; i < ELEMENTSOF(m->samples); i++)
440 return fabs(offset - m->samples[idx_cur].offset) > 3 * jitter;

Completed in 13 milliseconds