Searched refs:tsc_shift (Results 1 – 11 of 11) sorted by relevance
32 if (src->tsc_shift < 0) in pvclock_tsc_khz() 33 pv_tsc_khz <<= -src->tsc_shift; in pvclock_tsc_khz() 35 pv_tsc_khz >>= src->tsc_shift; in pvclock_tsc_khz()
32 s8 tsc_shift; member
83 src->tsc_shift); in __pvclock_read_cycles()
72 s8 tsc_shift; member
496 * system_time + ((tsc - tsc_timestamp) << tsc_shift) * tsc_to_system_mul498 * ((10^9 << 32) / tsc_to_system_mul) >> tsc_shift501 int8_t tsc_shift; member
107 s8 tsc_shift; member 998 ti->tsc_shift, ti->flags); in main() 1001 ti2->tsc_shift, ti2->flags); in main()
1107 __field( __s8, tsc_shift )1117 __entry->tsc_shift = pvclock->tsc_shift;1122 "system_time 0x%llx, tsc_to_system_mul 0x%x, tsc_shift %d, "1129 __entry->tsc_shift,
1082 * nsec = (ticks - tsc_timestamp) * tsc_to_system_mul * 2^(tsc_shift-32)1090 * ticks * scale / 2^64 = ticks * tsc_to_system_mul * 2^(tsc_shift-32) / 1001091 * scale / 2^64 = tsc_to_system_mul * 2^(tsc_shift-32) / 1001092 * scale = tsc_to_system_mul * 2^(32+tsc_shift) / 1001095 * nsec = ticks * tsc_to_system_mul * 2^(tsc_shift-32)1096 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32)1098 * nsec/100 = ticks * tsc_to_system_mul * 2^(tsc_shift-32) / 1001099 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32) / 1001102 * Replace tsc_to_system_mul * 2^(tsc_shift-32) / 100 by scale / 2^64:1122 * tsc_to_system_mul * 2^(tsc_shift in compute_tsc_page_parameters() [all...]
179 if (hv_clock->tsc_shift != vcpu->arch.pvclock_tsc_shift || in xen_get_guest_pvclock()
3123 &hv_clock.tsc_shift, in __get_kvmclock() 3277 hv_clock.tsc_shift = vcpu->pvclock_tsc_shift; in kvm_guest_time_update() 3393 &hv_clock.tsc_shift, in kvm_get_wall_clock_epoch()