Searched refs:tsc_start (Results 1 – 4 of 4) sorted by relevance
87 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local89 rdtscll(tsc_start); in tsc_period_ps()95 return (1000 * tv_minus(&tv_start, &tv_end)) / tsc_minus(tsc_start, in tsc_period_ps()
99 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local101 rdtscll(tsc_start); in tsc_period_ps()107 return (1000 * (ns_end - ns_start)) / tsc_minus(tsc_start, tsc_end); in tsc_period_ps()
503 unsigned long long tsc_minus(unsigned long long tsc_start, in tsc_minus() argument507 if (tsc_start <= tsc_end) in tsc_minus()508 delta = tsc_end - tsc_start; in tsc_minus()510 delta = ULL_MAX - (tsc_end - tsc_start) + 1; in tsc_minus()
308 unsigned long long tsc_minus(unsigned long long tsc_start, unsigned long long tsc_end);