HomeSort by: relevance | last modified time | path
    Searched refs:drift (Results 1 - 25 of 25) sorted by relevancy

  /src/external/bsd/ntp/dist/scripts/calc_tickadj/
calc_tickadj.in 4 # drift of 104.8576 -> +1 tick. Base of 10000 ticks.
17 my $drift_file = $opts->{'drift-file'};
30 # Drift file is in PPM where Milion is actually 2**20
32 my $drift = 0.;
36 $drift = <$dfh>;
39 die "Invalid drift file value <$drift>" if $drift !~ /[+-]?\d+\.?[0-9]+/;
41 while ($drift < 0) {
42 $drift += $cvt
    [all...]
calc_tickadj-opts.def 7 prog-title = 'Calculates "optimal" value for tick given ntp drift file.';
15 name = drift-file;
18 arg-default = '/etc/ntp/drift';
19 descrip = 'Ntp drift file to use';
20 doc = 'Use the specified drift file for calculations';
35 The @code{calc_tickadj} script uses provided ntp drift file to generate optimal
36 tick value. Generally, ntpd can do better job if the drift value is the
42 81.699 (drift)
44 $ cat /etc/ntp/drift
49 we'll shift the box from its current drift of -23.159 to a drift of 81.699, an
    [all...]
  /src/external/bsd/libfido2/dist/fuzz/
clock.c 27 long long drift; local
40 drift = usec * 1000LL + (long long)uniform_random(10000000); /* 10ms */
41 if (LLONG_MAX - drift < (long long)fuzz_clock.tv_nsec) {
43 } else if (drift + (long long)fuzz_clock.tv_nsec < 1000000000) {
44 fuzz_clock.tv_nsec += (long)(drift);
46 fuzz_clock.tv_sec += (long)(drift / 1000000000);
47 fuzz_clock.tv_nsec += (long)(drift % 1000000000);
  /src/external/bsd/ntp/dist/conf/
baldwin.conf 10 driftfile /etc/ntp.drift # path for drift file
beauregard.conf 12 driftfile /etc/ntp.drift # path for drift file
malarky.conf 13 driftfile /etc/ntp.drift # path for drift file
grundoon.conf 34 driftfile /etc/ntp.drift # path for drift file
pogo.conf 41 driftfile /etc/ntp.drift # path for drift file
rackety.conf 51 driftfile /etc/ntp.drift # frequency offset
  /src/etc/
ntp.conf 22 # drift is stored here.
24 driftfile /var/db/ntp.drift
  /src/external/bsd/ntp/dist/scripts/deprecated/
freq_adj.in 13 $driftfile = "/etc/ntp.drift";
60 $drift = $1;
67 print "NTP drift is <$drift>\n";
70 $freq_adj = int ( $drift * ( 10 ** 6 / 2 ** 20) );
93 where "drift_file" defaults to /etc/ntp.drift
  /src/sys/dev/hpc/
hpcbatteryvar.h 90 int drift; /* value drifts */ member in struct:hpcbattery_spec
  /src/games/sail/
dr_3.c 58 int row[NSHIP], col[NSHIP], dir[NSHIP], drift[NSHIP]; local
101 drift[n] = sp->file->drift;
183 if (drift[n] != sp->file->drift)
184 send_drift(sp, sp->file->drift);
255 if (windspeed != 0 && ++sp->file->drift > 2 &&
262 sp->file->drift = 0;
dr_2.c 179 int drift; local
187 drift = fp->drift;
188 move_ship(ship, movement, &fp->dir, &fp->row, &fp->col, &drift);
209 short *row, short *col, int *drift)
237 if (windspeed != 0 && ++*drift > 2) {
245 *drift = 0;
game.c 51 *af = (ship->file->drift > 1 && turns);
extern.h 154 char drift; /* 82 */ member in struct:File
sync.c 756 ship->file->drift = a;
  /src/sys/arch/x86/x86/
tsc.c 145 * Experience Drift
228 * and drift has been measured, and after any other potential delay funcs
247 aprint_error("ERROR: %lld cycle TSC drift observed\n",
269 * Record drift (in clock cycles). Called during AP startup.
272 tsc_sync_drift(int64_t drift)
275 if (drift < 0)
276 drift = -drift;
277 if (drift > tsc_drift_observed)
278 tsc_drift_observed = drift;
    [all...]
cpu.c 874 int64_t drift; local
889 /* Synchronize TSC again, check for drift. */
890 drift = ci->ci_data.cpu_cc_skew;
895 drift -= ci->ci_data.cpu_cc_skew;
896 aprint_debug_dev(ci->ci_dev, "TSC skew=%lld drift=%lld\n",
897 (long long)ci->ci_data.cpu_cc_skew, (long long)drift);
898 tsc_sync_drift(drift);
970 * this causes the TSC to drift. We want this to happen, so that we
971 * can later detect (in tsc_tc_init) any abnormal drift with invariant
1033 * drift that would have been caused by the use of MONITOR/MWAI
    [all...]
  /src/etc/rc.d/
ntpd 51 ln -fs "${ntpd_chrootdir}/var/db/ntp.drift" /var/db/ntp.drift
  /src/external/bsd/openldap/dist/servers/slapd/overlays/
otp.c 706 otp_totp( Operation *op, Entry *token, long *drift )
751 if ( a && lutil_atol( drift, a->a_vals[0].bv_val ) != 0 ) {
757 old_drift = *drift;
758 t = op->o_time / time_step + *drift;
794 *drift = old_drift + i;
804 Debug( LDAP_DEBUG_TRACE, "%s TOTP token %s redeemed with new drift of %ld\n",
805 op->o_log_prefix, token->e_name.bv_val, *drift );
824 long t = -1, drift = 0; local
857 t = otp_totp( op, token, &drift );
871 /* If check succeeds, advance the step counter and drift accordingly *
    [all...]
  /src/external/bsd/ntp/dist/scripts/monitoring/
ntploopstat 374 $drift = &lfptoa($drift_i, $drift_f);
376 &log($time,$offset,$drift,$compl) && ($fail = 0);;
417 ;# MJD seconds offset drift compliance
  /src/external/bsd/ntp/dist/ntpd/
ntpd-opts.def 180 is first started without a valid drift file
181 on a system with a large intrinsic drift
218 .Pa ntp.drift
265 .Pa ntp.drift
306 .Pa ntp.drift ,
471 error is greater than this, the drift file
472 .Pa ntp.drift
476 Once this is done, the drift file is automatically
520 .Bl -tag -width /etc/ntp.drift -compact
523 .It Pa /etc/ntp.drift
    [all...]
jupiter.h 113 u_short drift[2]; member in struct:jgpos
refclock_ripencc.c 357 unsigned char *dim_mode, short *utc_offset, double *bias, double *drift,
2859 double *drift,
2881 *drift = bGetDouble(&buf[26]);
4490 drift, local
4509 &drift,
4535 pbuf += sprintf(pbuf, "\nFreq bias : %6.2f m/s", drift);

Completed in 43 milliseconds