Home
last modified time | relevance | path

Searched refs:tsc_timestamp (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/include/asm/
H A Dpvclock-abi.h29 u64 tsc_timestamp; member
/linux/tools/arch/x86/include/asm/
H A Dpvclock-abi.h29 u64 tsc_timestamp; member
H A Dpvclock.h81 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles()
/linux/include/xen/arm/
H A Dinterface.h69 u64 tsc_timestamp; member
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c156 uint64_t tsc_timestamp; member
779 uint64_t tsc_timestamp; member
894 data->tsc_timestamp = timestamp; in intel_pt_calc_cyc_cb()
913 data->ctc_timestamp = data->tsc_timestamp - fc; in intel_pt_calc_cyc_cb()
993 .tsc_timestamp = decoder->tsc_timestamp, in intel_pt_calc_cyc_to_tsc()
1812 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1819 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1831 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1923 decoder->ctc_timestamp = decoder->tsc_timestamp in intel_pt_calc_tma()
[all...]
/linux/include/xen/interface/
H A Dxen.h492 uint64_t tsc_timestamp; /* TSC at last update of time vals. */ member
496 * system_time + ((tsc - tsc_timestamp) << tsc_shift) * tsc_to_system_mul
/linux/tools/testing/selftests/kvm/x86/
H A Dxen_shinfo_test.c104 u64 tsc_timestamp; member
997 ti->version, ti->tsc_timestamp, ti->system_time, ti->tsc_to_system_mul, in main()
1000 ti2->version, ti2->tsc_timestamp, ti2->system_time, ti2->tsc_to_system_mul, in main()
/linux/arch/x86/kvm/
H A Dx86.c2816 static inline u64 vgettsc(struct pvclock_clock *clock, u64 *tsc_timestamp, in vgettsc() argument
2825 tsc_timestamp, &tsc_pg_val)) { in vgettsc()
2837 *tsc_timestamp = read_tsc(); in vgettsc()
2838 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()
2846 *tsc_timestamp = v = 0; in vgettsc()
2855 static int do_kvmclock_base(s64 *t, u64 *tsc_timestamp) in do_kvmclock_base() argument
2865 ns += vgettsc(&gtod->raw_clock, tsc_timestamp, &mode); in do_kvmclock_base()
2878 static int do_monotonic(s64 *t, u64 *tsc_timestamp) in do_monotonic() argument
2888 ns += vgettsc(&gtod->clock, tsc_timestamp, &mode); in do_monotonic()
2897 static int do_realtime(struct timespec64 *ts, u64 *tsc_timestamp) in do_realtime() argument
2923 kvm_get_time_and_clockread(s64 * kernel_ns,u64 * tsc_timestamp) kvm_get_time_and_clockread() argument
2937 kvm_get_monotonic_and_clockread(s64 * kernel_ns,u64 * tsc_timestamp) kvm_get_monotonic_and_clockread() argument
2955 kvm_get_walltime_and_clockread(struct timespec64 * ts,u64 * tsc_timestamp) kvm_get_walltime_and_clockread() argument
3208 u64 tsc_timestamp, host_tsc; kvm_guest_time_update() local
[all...]
H A Dtrace.h1104 __field( __u64, tsc_timestamp )
1114 __entry->tsc_timestamp = pvclock->tsc_timestamp;
1121 TP_printk("vcpu_id %u, pvclock { version %u, tsc_timestamp 0x%llx, "
1126 __entry->tsc_timestamp,
H A Dx86.h416 bool kvm_get_monotonic_and_clockread(s64 *kernel_ns, u64 *tsc_timestamp);
H A Dhyperv.c1082 * nsec = (ticks - tsc_timestamp) * tsc_to_system_mul * 2^(tsc_shift-32)
1088 * When tsc_timestamp = system_time = 0, offset is zero in the Hyper-V formula.
1096 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32)
1099 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32) / 100
1104 * - tsc_timestamp * scale / 2^64
1108 * offset = system_time / 100 - tsc_timestamp * scale / 2^64
1142 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()