Searched refs:tsc_start (Results 1 – 4 of 4) sorted by relevance
88 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local90 rdtscll(tsc_start); in tsc_period_ps()96 return (1000 * tv_minus(&tv_start, &tv_end)) / tsc_minus(tsc_start, in tsc_period_ps()
100 unsigned long long tsc_start, tsc_end; in tsc_period_ps() local102 rdtscll(tsc_start); in tsc_period_ps()108 return (1000 * (ns_end - ns_start)) / tsc_minus(tsc_start, tsc_end); in tsc_period_ps()
508 unsigned long long tsc_minus(unsigned long long tsc_start, 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);