Searched refs:tsc_end (Results 1 – 5 of 5) sorted by relevance
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()
72 unsigned long long tsc_begin, tsc_end; in detect_cpu_clock() local82 rdtscll(tsc_end); in detect_cpu_clock()85 …return (tsc_end - tsc_begin) / (tm_end.tv_sec - tm_begin.tv_sec + (tm_end.tv_nsec - tm_begin.tv_ns… in detect_cpu_clock()
307 unsigned long long tsc_minus(unsigned long long tsc_start, unsigned long long tsc_end);