Searched refs:tsc_end (Results 1 – 5 of 5) sorted by relevance
60 uint64_t tsc_start, tsc_end, tsc_freq; in check_tsc_freq() local70 tsc_end = rdmsr(MSR_IA32_TSC); in check_tsc_freq()72 tsc_freq = tsc_end - tsc_start; in check_tsc_freq()156 uint64_t tsc_start, tsc_end; in main() local180 tsc_end = rdtsc(); in main()182 l0_tsc_freq = tsc_end - tsc_start; in main()
88 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local93 rdtscll(tsc_end); in tsc_period_ps()97 tsc_end); in tsc_period_ps()
100 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local105 rdtscll(tsc_end); in tsc_period_ps()108 return (1000 * (ns_end - ns_start)) / tsc_minus(tsc_start, tsc_end); in tsc_period_ps()
509 unsigned long long tsc_end) in tsc_minus() argument512 if (tsc_start <= tsc_end) in tsc_minus()513 delta = tsc_end - tsc_start; in tsc_minus()515 delta = ULL_MAX - (tsc_end - tsc_start) + 1; in tsc_minus()
307 unsigned long long tsc_minus(unsigned long long tsc_start, unsigned long long tsc_end);