dp8393x: convert to trace-events
[qemu/ar7.git] / stubs / icount.c
blobf13c43568bceca6a8bb1b3982da5c7078c6744ed
1 #include "qemu/osdep.h"
2 #include "qapi/error.h"
3 #include "sysemu/cpu-timers.h"
5 /* icount - Instruction Counter API */
7 int use_icount;
9 void icount_update(CPUState *cpu)
11 abort();
13 void icount_configure(QemuOpts *opts, Error **errp)
15 /* signal error */
16 error_setg(errp, "cannot configure icount, TCG support not available");
18 int64_t icount_get_raw(void)
20 abort();
21 return 0;
23 int64_t icount_get(void)
25 abort();
26 return 0;
28 int64_t icount_to_ns(int64_t icount)
30 abort();
31 return 0;
33 int64_t icount_round(int64_t count)
35 abort();
36 return 0;
38 void icount_start_warp_timer(void)
40 abort();
42 void icount_account_warp_timer(void)
44 abort();