1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "sysemu/cpu-timers.h"
5 /* icount - Instruction Counter API */
9 void icount_update(CPUState
*cpu
)
13 void icount_configure(QemuOpts
*opts
, Error
**errp
)
16 error_setg(errp
, "cannot configure icount, TCG support not available");
18 int64_t icount_get_raw(void)
23 int64_t icount_get(void)
28 int64_t icount_to_ns(int64_t icount
)
33 int64_t icount_round(int64_t count
)
38 void icount_start_warp_timer(void)
42 void icount_account_warp_timer(void)
47 void icount_notify_exit(void)