qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Counting barrier instructions in ARM


From: Peter Maydell
Subject: Re: [Qemu-devel] Counting barrier instructions in ARM
Date: Thu, 16 Oct 2014 10:05:41 +0200

On 16 October 2014 03:45, Pranith Kumar <address@hidden> wrote:
> The problem I am facing is that this seems to be crashing when run with a
> multi-threaded executable.

This is nothing to do with your changes -- user-mode QEMU does not
support multi-threaded guest executables. QEMU may crash, hang,
or stop with an assertion failure, fairly randomly. Don't try
to run multithreaded guests :-)

> Also the statistics gathered are not really accurate.

This will be because you're using add rather than addi,
so you're adding effectively a random number to the count
every time (whatever TCG's "value in temporary 1" happens
to be, I expect).

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]