Searched refs:time_shift (Results 1 – 2 of 2) sorted by relevance
76 uint64_t quot = tsc >> time_shift; in ToNanos()77 uint64_t rem_flag = (((uint64_t)1 << time_shift) - 1); in ToNanos()79 return time_zero.value + quot * time_mult + ((rem * time_mult) >> time_shift); in ToNanos()86 return (quot << time_shift) + (rem << time_shift) / time_mult; in ToTSC()92 {"timeShift", packet.time_shift}, in toJSON()100 uint64_t time_mult, time_shift; in fromJSON() local101 if (!(o && o.map("timeMult", time_mult) && o.map("timeShift", time_shift) && in fromJSON()105 packet.time_shift = time_shift; in fromJSON()
108 uint16_t time_shift; member