master
h 21 lines 514 Bytes
Raw
1 /*
2 * QEMU TCG Single Threaded vCPUs implementation
3 *
4 * Copyright 2020 SUSE LLC
5 *
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.
8 */
9
10 #ifndef TCG_ACCEL_OPS_RR_H
11 #define TCG_ACCEL_OPS_RR_H
12
13 #define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
14
15 /* Kick all RR vCPUs. */
16 void rr_kick_vcpu_thread(CPUState *unused);
17
18 /* start the round robin vcpu thread */
19 void rr_start_vcpu_thread(CPUState *cpu);
20
21 #endif /* TCG_ACCEL_OPS_RR_H */