OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:synch_distance
(Results
1 - 2
of
2
) sorted by relevancy
/src/external/bsd/ntp/dist/sntp/tests/
packetHandling.c
143
double offset, precision,
synch_distance
;
local
174
offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &
synch_distance
);
179
TEST_ASSERT_EQUAL_DOUBLE(1.125015,
synch_distance
);
189
double offset, precision,
synch_distance
;
local
221
offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &
synch_distance
);
225
TEST_ASSERT_EQUAL_DOUBLE(1.3333483333333334,
synch_distance
);
/src/external/bsd/ntp/dist/sntp/
main.c
1185
double
synch_distance
;
local
1254
&precision, &
synch_distance
);
1267
if (
synch_distance
> 0.) {
1269
" +/- %f",
synch_distance
);
1326
double *
synch_distance
1357
//
synch_distance
is:
1380
*
synch_distance
= (fabs(t21 + t34) + FPTOD(p_rdly)) / 3.
1386
INSIST( *
synch_distance
>= 0. );
1388
*
synch_distance
= (FPTOD(p_rdly) + FPTOD(p_rdsp))/2.0;
1395
printf("sntp syncdist: %f\n", *
synch_distance
);
[
all
...]
Completed in 20 milliseconds
Indexes created Mon Mar 16 00:23:04 UTC 2026