Searched refs:tsc1 (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | tsc.c | 718 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()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | tsc.c | 755 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local 800 tsc1 = tsc_read_refs(&ref1, hpet); in pit_hpet_ptimer_calibrate_cpu() 813 if (tsc1 == ULLONG_MAX || tsc2 == ULLONG_MAX) in pit_hpet_ptimer_calibrate_cpu() 816 tsc2 = (tsc2 - tsc1) * 1000000LL; in pit_hpet_ptimer_calibrate_cpu()
|
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 3020 * @tsc1: first TSC to compare 3028 * Return: %-1 if @tsc1 is before @tsc2, %0 if @tsc1 == @tsc2, %1 if @tsc1 is 3031 static int intel_pt_tsc_cmp(uint64_t tsc1, uint64_t tsc2) in intel_pt_tsc_cmp() argument 3035 if (tsc1 == tsc2) in intel_pt_tsc_cmp() 3038 if (tsc1 < tsc2) { in intel_pt_tsc_cmp() 3039 if (tsc2 - tsc1 < halfway) in intel_pt_tsc_cmp() 3044 if (tsc1 - tsc2 < halfway) in intel_pt_tsc_cmp()
|
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 4198 * @tsc1: first TSC to compare 4206 * Return: %-1 if @tsc1 is before @tsc2, %0 if @tsc1 == @tsc2, %1 if @tsc1 is 4209 static int intel_pt_tsc_cmp(uint64_t tsc1, uint64_t tsc2) in intel_pt_tsc_cmp() argument 4213 if (tsc1 == tsc2) in intel_pt_tsc_cmp() 4216 if (tsc1 < tsc2) { in intel_pt_tsc_cmp() 4217 if (tsc2 - tsc1 < halfway) in intel_pt_tsc_cmp() 4222 if (tsc1 - tsc2 < halfway) in intel_pt_tsc_cmp()
|
Completed in 12 milliseconds