From 45e077d75174269d76efbc632419e90fdb7c0662 Mon Sep 17 00:00:00 2001 From: Claudio Fontana Date: Thu, 15 Oct 2020 16:32:15 +0200 Subject: accel/tcg: split CpusAccel into three TCG variants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Claudio Fontana Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20201015143217.29337-2-cfontana@suse.de> Signed-off-by: Richard Henderson --- softmmu/icount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'softmmu') 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; } -- cgit v1.2.3