Home
last modified time | relevance | path

Searched refs:tsc_timestamp (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpvclock-abi.h29 u64 tsc_timestamp; member
H A Dpvclock.h84 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpvclock-abi.h29 u64 tsc_timestamp; member
H A Dpvclock.h85 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/include/xen/arm/
H A Dinterface.h69 u64 tsc_timestamp; member
/kernel/linux/linux-6.6/include/xen/arm/
H A Dinterface.h69 u64 tsc_timestamp; member
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c130 uint64_t tsc_timestamp; member
676 uint64_t tsc_timestamp; member
788 data->tsc_timestamp = timestamp; in intel_pt_calc_cyc_cb()
807 data->ctc_timestamp = data->tsc_timestamp - fc; in intel_pt_calc_cyc_cb()
887 .tsc_timestamp = decoder->tsc_timestamp, in intel_pt_calc_cyc_to_tsc()
1459 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1466 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1476 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1562 decoder->ctc_timestamp = decoder->tsc_timestamp in intel_pt_calc_tma()
[all...]
/kernel/linux/linux-6.6/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()
1810 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1817 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1829 decoder->tsc_timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1921 decoder->ctc_timestamp = decoder->tsc_timestamp in intel_pt_calc_tma()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Dxen_shinfo_test.c103 u64 tsc_timestamp; member
989 ti->version, ti->tsc_timestamp, ti->system_time, ti->tsc_to_system_mul, in main()
992 ti2->version, ti2->tsc_timestamp, ti2->system_time, ti2->tsc_to_system_mul, in main()
/kernel/linux/linux-5.10/include/xen/interface/
H A Dxen.h509 uint64_t tsc_timestamp; /* TSC at last update of time vals. */ member
513 * system_time + ((tsc - tsc_timestamp) << tsc_shift) * tsc_to_system_mul
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dx86.c2426 static inline u64 vgettsc(struct pvclock_clock *clock, u64 *tsc_timestamp, in vgettsc() argument
2435 tsc_timestamp); in vgettsc()
2448 *tsc_timestamp = read_tsc(); in vgettsc()
2449 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()
2457 *tsc_timestamp = v = 0; in vgettsc()
2462 static int do_monotonic_raw(s64 *t, u64 *tsc_timestamp) in do_monotonic_raw() argument
2472 ns += vgettsc(&gtod->raw_clock, tsc_timestamp, &mode); in do_monotonic_raw()
2481 static int do_realtime(struct timespec64 *ts, u64 *tsc_timestamp) in do_realtime() argument
2492 ns += vgettsc(&gtod->clock, tsc_timestamp, &mode); in do_realtime()
2503 static bool kvm_get_time_and_clockread(s64 *kernel_ns, u64 *tsc_timestamp) in kvm_get_time_and_clockread() argument
2514 kvm_get_walltime_and_clockread(struct timespec64 *ts, u64 *tsc_timestamp) kvm_get_walltime_and_clockread() argument
2720 u64 tsc_timestamp, host_tsc; kvm_guest_time_update() local
[all...]
H A Dtrace.h919 __field( __u64, tsc_timestamp )
929 __entry->tsc_timestamp = pvclock->tsc_timestamp;
936 TP_printk("vcpu_id %u, pvclock { version %u, tsc_timestamp 0x%llx, "
941 __entry->tsc_timestamp,
H A Dhyperv.c1012 * nsec = (ticks - tsc_timestamp) * tsc_to_system_mul * 2^(tsc_shift-32)
1018 * When tsc_timestamp = system_time = 0, offset is zero in the Hyper-V formula.
1026 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32)
1029 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32) / 100
1034 * - tsc_timestamp * scale / 2^64
1038 * offset = system_time / 100 - tsc_timestamp * scale / 2^64
1072 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()
/kernel/linux/linux-6.6/arch/x86/kvm/
H A Dx86.c2815 static inline u64 vgettsc(struct pvclock_clock *clock, u64 *tsc_timestamp, in vgettsc() argument
2824 tsc_timestamp, &tsc_pg_val)) { in vgettsc()
2836 *tsc_timestamp = read_tsc(); in vgettsc()
2837 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()
2845 *tsc_timestamp = v = 0; in vgettsc()
2850 static int do_monotonic_raw(s64 *t, u64 *tsc_timestamp) in do_monotonic_raw() argument
2860 ns += vgettsc(&gtod->raw_clock, tsc_timestamp, &mode); in do_monotonic_raw()
2869 static int do_realtime(struct timespec64 *ts, u64 *tsc_timestamp) in do_realtime() argument
2880 ns += vgettsc(&gtod->clock, tsc_timestamp, &mode); in do_realtime()
2891 static bool kvm_get_time_and_clockread(s64 *kernel_ns, u64 *tsc_timestamp) in kvm_get_time_and_clockread() argument
2902 kvm_get_walltime_and_clockread(struct timespec64 *ts, u64 *tsc_timestamp) kvm_get_walltime_and_clockread() argument
3156 u64 tsc_timestamp, host_tsc; kvm_guest_time_update() local
[all...]
H A Dtrace.h1002 __field( __u64, tsc_timestamp )
1012 __entry->tsc_timestamp = pvclock->tsc_timestamp;
1019 TP_printk("vcpu_id %u, pvclock { version %u, tsc_timestamp 0x%llx, "
1024 __entry->tsc_timestamp,
H A Dhyperv.c1079 * nsec = (ticks - tsc_timestamp) * tsc_to_system_mul * 2^(tsc_shift-32)
1085 * When tsc_timestamp = system_time = 0, offset is zero in the Hyper-V formula.
1093 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32)
1096 * - tsc_timestamp * tsc_to_system_mul * 2^(tsc_shift-32) / 100
1101 * - tsc_timestamp * scale / 2^64
1105 * offset = system_time / 100 - tsc_timestamp * scale / 2^64
1139 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()

Completed in 37 milliseconds