Searched refs:ticks_to_sleep (Results 1 – 1 of 1) sorted by relevance
1736 int64_t ticks_to_sleep; in hvf_wfi() local1758 ticks_to_sleep = cval - hvf_vtimer_val(); in hvf_wfi()1759 if (ticks_to_sleep < 0) { in hvf_wfi()1764 seconds = muldiv64(ticks_to_sleep, cntfrq, NANOSECONDS_PER_SECOND); in hvf_wfi()1765 ticks_to_sleep -= muldiv64(seconds, NANOSECONDS_PER_SECOND, cntfrq); in hvf_wfi()1766 nanos = ticks_to_sleep * cntfrq; in hvf_wfi()