Searched refs:synch_distance (Results 1 - 2 of 2) sorted by path
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | packetHandling.c | 121 double offset, precision, synch_distance; local 152 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance); 157 TEST_ASSERT_EQUAL_DOUBLE(1.125015, synch_distance); 167 double offset, precision, synch_distance; local 199 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance); 203 TEST_ASSERT_EQUAL_DOUBLE(1.3333483333333334, synch_distance);
|
/freebsd-11-stable/contrib/ntp/sntp/ |
H A D | main.c | 1181 double synch_distance; local 1250 &precision, &synch_distance); 1263 if (synch_distance > 0.) { 1265 " +/- %f", synch_distance); 1322 double *synch_distance 1353 // synch_distance is: 1376 *synch_distance = (fabs(t21 + t34) + FPTOD(p_rdly)) / 3. 1382 INSIST( *synch_distance >= 0. ); 1384 *synch_distance = (FPTOD(p_rdly) + FPTOD(p_rdsp))/2.0; 1391 printf("sntp syncdist: %f\n", *synch_distance); [all...] |
Completed in 130 milliseconds