Searched refs:tsc2 (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/arch/x86/kernel/ |
D | tsc.c | 667 u64 tsc1, tsc2, delta, ref1, ref2; in native_calibrate_tsc() local 727 tsc2 = tsc_read_refs(&ref2, hpet); in native_calibrate_tsc() 738 if (tsc1 == ULLONG_MAX || tsc2 == ULLONG_MAX) in native_calibrate_tsc() 741 tsc2 = (tsc2 - tsc1) * 1000000LL; in native_calibrate_tsc() 743 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in native_calibrate_tsc() 745 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in native_calibrate_tsc() 747 tsc_ref_min = min(tsc_ref_min, (unsigned long) tsc2); in native_calibrate_tsc()
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 2205 static int intel_pt_tsc_cmp(uint64_t tsc1, uint64_t tsc2) in intel_pt_tsc_cmp() argument 2209 if (tsc1 == tsc2) in intel_pt_tsc_cmp() 2212 if (tsc1 < tsc2) { in intel_pt_tsc_cmp() 2213 if (tsc2 - tsc1 < halfway) in intel_pt_tsc_cmp() 2218 if (tsc1 - tsc2 < halfway) in intel_pt_tsc_cmp()
|