qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] time inside qemu


From: Eduardo Felipe
Subject: Re: [Qemu-devel] time inside qemu
Date: Mon, 16 Apr 2007 23:59:09 +0200

Hi, 

I just tried with cpu_disable_ticks() and cpu_enable_ticks(). It seems to work partially: at least now system date and time are out of sync..

Maybe a more accurate way to do this is mimicking "stop" and "continue" monitor commands:

vm_stop(EXCP_INTERRUPT);
[SystemC simulation]
vm_start();

This just takes SystemC emulation time out of the equation. You cannot make any reliable performance measure of qemu's translated code, as already mentioned, but the former may be enough for your requirements.

Regards,
Eduardo Felipe


reply via email to

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