2 * QEMU TCG Single Threaded vCPUs implementation using instruction counting
4 * Copyright 2020 SUSE LLC
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
10 #ifndef TCG_ACCEL_OPS_ICOUNT_H
11 #define TCG_ACCEL_OPS_ICOUNT_H
13 void icount_handle_deadline(void);
14 void icount_prepare_for_run(CPUState
*cpu
, int64_t cpu_budget
);
15 int64_t icount_percpu_budget(int cpu_count
);
16 void icount_process_data(CPUState
*cpu
);
18 void icount_handle_interrupt(CPUState
*cpu
, int mask
);
20 #endif /* TCG_ACCEL_OPS_ICOUNT_H */