blob: 54f6ae6e867f9c28c23aad97e0f856cc673c2777 [file] [log] [blame]
Claudio Fontana45e077d2020-10-15 16:32:15 +02001/*
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_CPUS_RR_H
11#define TCG_CPUS_RR_H
12
13#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
14
15/* Kick all RR vCPUs. */
Claudio Fontana9e2658d2020-10-15 16:32:17 +020016void rr_kick_vcpu_thread(CPUState *unused);
Claudio Fontana45e077d2020-10-15 16:32:15 +020017
Claudio Fontana37c2f9a2020-10-15 16:32:16 +020018/* start the round robin vcpu thread */
19void rr_start_vcpu_thread(CPUState *cpu);
Claudio Fontana45e077d2020-10-15 16:32:15 +020020
21#endif /* TCG_CPUS_RR_H */