Home
last modified time | relevance | path

Searched refs:timers_state (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/accel/tcg/
H A Dicount-common.c88 qatomic_set_i64(&timers_state.qemu_icount, in icount_update_locked()
190 && timers_state.icount_time_shift > 0) { in icount_adjust()
202 timers_state.last_delta = delta; in icount_adjust()
212 timer_mod(timers_state.icount_rt_timer, in icount_adjust_rt()
219 timer_mod(timers_state.icount_vm_timer, in icount_adjust_vm()
274 timers_state.vm_clock_warp_start = -1; in icount_warp_rt()
414 timer_del(timers_state.icount_warp_timer); in icount_account_warp_timer()
472 timers_state.icount_time_shift = 3; in icount_configure()
481 timers_state.vm_clock_warp_start = -1; in icount_configure()
484 timer_mod(timers_state.icount_rt_timer, in icount_configure()
[all …]
/openbmc/qemu/system/
H A Dcpu-timers.c46 if (timers_state.cpu_ticks_enabled) { in cpu_get_ticks_locked()
52 timers_state.cpu_ticks_offset += timers_state.cpu_ticks_prev - ticks; in cpu_get_ticks_locked()
53 ticks = timers_state.cpu_ticks_prev; in cpu_get_ticks_locked()
56 timers_state.cpu_ticks_prev = ticks; in cpu_get_ticks_locked()
78 time = timers_state.cpu_clock_offset; in cpu_get_clock_locked()
79 if (timers_state.cpu_ticks_enabled) { in cpu_get_clock_locked()
111 if (!timers_state.cpu_ticks_enabled) { in cpu_enable_ticks()
114 timers_state.cpu_ticks_enabled = 1; in cpu_enable_ticks()
129 if (timers_state.cpu_ticks_enabled) { in cpu_disable_ticks()
132 timers_state.cpu_ticks_enabled = 0; in cpu_disable_ticks()
[all …]
/openbmc/qemu/include/sysemu/
H A Dcpu-timers-internal.h64 extern TimersState timers_state;