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

  /src/sys/dev/hyperv/
hvtimesync.c 135 vm_ns = (vm_ts.tv_sec * NANOSECOND) + vm_ts.tv_nsec;
143 hv_ts.tv_sec = hv_ns / NANOSECOND;
144 hv_ts.tv_nsec = hv_ns % NANOSECOND;
169 hv_ts.tv_sec = hv_ns / NANOSECOND;
170 hv_ts.tv_nsec = hv_ns % NANOSECOND;
hypervvar.h 44 #define HYPERV_TIMER_FREQ (NANOSECOND / HYPERV_TIMER_NS_FACTOR)
  /src/sys/sys/
timex.h 30 * Revised for nanosecond kernel and user interface.
60 * kernels have an ultimate resolution of one nanosecond. In these
77 * nanosecond (seconds and nanoseconds) format. The particular
118 #define NANOSECOND 1000000000L /* nanoseconds in one second */
137 #define MOD_NANO 0x2000 /* select nanosecond resolution */
  /src/sys/kern/
kern_ntptime.c 125 * current nanosecond time is reckoned from these values plus an
136 * The nanosecond clock discipline uses two variable types, time
433 * On rollover of the second both the nanosecond and microsecond
723 if (u_nsec >= (NANOSECOND >> 1)) {
724 u_nsec -= NANOSECOND;
728 if (u_sec == pps_tf[0].tv_sec && v_nsec < NANOSECOND -
745 if (u_nsec > (NANOSECOND >> 1))
746 u_nsec -= NANOSECOND;
747 else if (u_nsec < -(NANOSECOND >> 1))
748 u_nsec += NANOSECOND;
    [all...]

Completed in 99 milliseconds