Home
last modified time | relevance | path

Searched refs:MAXSTAGE (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/ntp/ntpd/
H A Dntp_refclock.c82 #if MAXSTAGE & (MAXSTAGE - 1)
89 pp->coderecv = (pp->coderecv + 1) % MAXSTAGE; in clk_add_sample()
91 pp->codeproc = (pp->codeproc + 1) % MAXSTAGE; in clk_add_sample()
101 pp->codeproc = (pp->codeproc + 1) % MAXSTAGE; in clk_pop_sample()
110 if (retv > MAXSTAGE) in clk_cnt_sample()
111 retv += MAXSTAGE; in clk_cnt_sample()
122 pp->coderecv = (pp->coderecv + 1) & (MAXSTAGE - 1); in clk_add_sample()
124 pp->codeproc = (pp->codeproc + 1) & (MAXSTAGE - 1); in clk_add_sample()
134 pp->codeproc = (pp->codeproc + 1) & (MAXSTAGE in clk_pop_sample()
[all...]
H A Drefclock_chu.c332 l_fp tstamp[MAXSTAGE]; /* timestamp samples */
1271 if (up->ntstamp < MAXSTAGE - 1) in chu_a()
/freebsd/contrib/ntp/include/
H A Dntp_refclock.h133 #define MAXSTAGE 64 /* max median filter stages */ macro
169 double filter[MAXSTAGE]; /* median filter */
/freebsd/contrib/ntp/
H A DCommitLog-4.1.0114 to use most recent MAXSTAGE entries when the filter overflows (ie
115 driver poking say once per second with poll > MAXSTAGE) rather
116 than blocking after MAXSTAGE entries (turf oldest rather than turf