Home
last modified time | relevance | path

Searched refs:tsc1 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/x86/kernel/
Dtsc.c718 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local
763 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu()
776 if (tsc1 == ULLONG_MAX || tsc2 == ULLONG_MAX) in pit_hpet_ptimer_calibrate_cpu()
779 tsc2 = (tsc2 - tsc1) * 1000000LL; in pit_hpet_ptimer_calibrate_cpu()
/Linux-v5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c2961 static int intel_pt_tsc_cmp(uint64_t tsc1, uint64_t tsc2) in intel_pt_tsc_cmp() argument
2965 if (tsc1 == tsc2) in intel_pt_tsc_cmp()
2968 if (tsc1 < tsc2) { in intel_pt_tsc_cmp()
2969 if (tsc2 - tsc1 < halfway) in intel_pt_tsc_cmp()
2974 if (tsc1 - tsc2 < halfway) in intel_pt_tsc_cmp()