Searched refs:cur_tsc (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/char/
H A Dhangcheck-timer.c131 unsigned long long cur_tsc, tsc_diff; hangcheck_fire() local
133 cur_tsc = ktime_get_ns(); hangcheck_fire()
135 if (cur_tsc > hangcheck_tsc) hangcheck_fire()
136 tsc_diff = cur_tsc - hangcheck_tsc; hangcheck_fire()
138 tsc_diff = (cur_tsc + (~0ULL - hangcheck_tsc)); /* or something */ hangcheck_fire()
/linux-4.4.14/drivers/hv/
H A Dhv.c150 u64 cur_tsc; read_hv_clock_tsc() local
154 rdtscll(cur_tsc); read_hv_clock_tsc()
155 /* current_tick = ((cur_tsc *scale) >> 64) + offset */ read_hv_clock_tsc()
158 : "a" (cur_tsc), "r" (scale)); read_hv_clock_tsc()

Completed in 108 milliseconds