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

/linux-4.4.14/arch/x86/kernel/cpu/
H A Dmshyperv.c137 cycle_t current_tick; read_hv_clock() local
143 rdmsrl(HV_X64_MSR_TIME_REF_COUNT, current_tick); read_hv_clock()
144 return current_tick; read_hv_clock()
/linux-4.4.14/drivers/hv/
H A Dhv.c139 cycle_t current_tick; read_hv_clock_tsc() local
155 /* current_tick = ((cur_tsc *scale) >> 64) + offset */ read_hv_clock_tsc()
157 : "=d" (current_tick), "=a" (tmp) read_hv_clock_tsc()
160 current_tick += offset; read_hv_clock_tsc()
162 return current_tick; read_hv_clock_tsc()
172 rdmsrl(HV_X64_MSR_TIME_REF_COUNT, current_tick); read_hv_clock_tsc()
173 return current_tick; read_hv_clock_tsc()
358 cycle_t current_tick; hv_ce_set_next_event() local
362 rdmsrl(HV_X64_MSR_TIME_REF_COUNT, current_tick); hv_ce_set_next_event()
363 current_tick += delta; hv_ce_set_next_event()
364 wrmsrl(HV_X64_MSR_STIMER0_COUNT, current_tick); hv_ce_set_next_event()

Completed in 266 milliseconds