Searched refs:hv_ns (Results 1 – 1 of 1) sorted by relevance
127 uint64_t hv_ns, vm_ns, rtt = 0; in do_timesync() local133 hv_ns = (hvtime - VMBUS_ICMSG_TS_BASE + rtt) * HYPERV_TIMER_NS_FACTOR; in do_timesync()141 (uintmax_t)hv_ns, (uintmax_t)vm_ns); in do_timesync()143 hv_ts.tv_sec = hv_ns / NANOSECOND; in do_timesync()144 hv_ts.tv_nsec = hv_ns % NANOSECOND; in do_timesync()155 (uintmax_t)hv_ns, (uintmax_t)vm_ns); in do_timesync()158 if (hv_ns > vm_ns) in do_timesync()159 diff = hv_ns - vm_ns; in do_timesync()161 diff = vm_ns - hv_ns; in do_timesync()168 (uintmax_t)hv_ns, (uintmax_t)vm_ns); in do_timesync()[all …]