summaryrefslogtreecommitdiffstats
path: root/softmmu
diff options
context:
space:
mode:
authorClaudio Fontana2020-10-15 16:32:15 +0200
committerRichard Henderson2020-12-11 00:44:10 +0100
commit45e077d75174269d76efbc632419e90fdb7c0662 (patch)
treeccb3e16d0599e6b2405047f95d31a3bc079abb8c /softmmu
parentMerge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-12-10' into ... (diff)
downloadqemu-45e077d75174269d76efbc632419e90fdb7c0662.tar.gz
qemu-45e077d75174269d76efbc632419e90fdb7c0662.tar.xz
qemu-45e077d75174269d76efbc632419e90fdb7c0662.zip
accel/tcg: split CpusAccel into three TCG variants
split up the CpusAccel tcg_cpus into three TCG variants: tcg_cpus_rr (single threaded, round robin cpus) tcg_cpus_icount (same as rr, but with instruction counting enabled) tcg_cpus_mttcg (multi-threaded cpus) Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201015143217.29337-2-cfontana@suse.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'softmmu')
-rw-r--r--softmmu/icount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/icount.c b/softmmu/icount.c
index 020a201a01..dbcd8c3594 100644
--- a/softmmu/icount.c
+++ b/softmmu/icount.c
@@ -396,7 +396,7 @@ void icount_start_warp_timer(void)
void icount_account_warp_timer(void)
{
- if (!icount_enabled() || !icount_sleep) {
+ if (!icount_sleep) {
return;
}