forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
514 B
C
22 lines
514 B
C
/*
|
|
* QEMU TCG Single Threaded vCPUs implementation
|
|
*
|
|
* Copyright 2020 SUSE LLC
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef TCG_ACCEL_OPS_RR_H
|
|
#define TCG_ACCEL_OPS_RR_H
|
|
|
|
#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
|
|
|
|
/* Kick all RR vCPUs. */
|
|
void rr_kick_vcpu_thread(CPUState *unused);
|
|
|
|
/* start the round robin vcpu thread */
|
|
void rr_start_vcpu_thread(CPUState *cpu);
|
|
|
|
#endif /* TCG_ACCEL_OPS_RR_H */
|