From: "Eduardo Felipe" <edusaper@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] time inside qemu
Date: Mon, 16 Apr 2007 23:59:09 +0200 [thread overview]
Message-ID: <83a4d4ca0704161459g45e5988fmabf3ea8f3fe26e64@mail.gmail.com> (raw)
In-Reply-To: <45955621.2030301@uab.cat>
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 813 bytes --]
next prev parent reply other threads:[~2007-04-16 22:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-29 16:22 [Qemu-devel] time inside qemu Màrius Montón
2006-12-29 17:43 ` Paul Brook
2006-12-29 17:53 ` Màrius Montón
2006-12-29 18:10 ` Paul Brook
2007-04-16 14:41 ` Marius Monton
2007-04-16 15:12 ` Paul Brook
2007-04-17 14:05 ` Marius Monton
2007-04-17 14:22 ` Paul Brook
2007-04-16 21:59 ` Eduardo Felipe [this message]
2006-12-31 14:52 ` Markus Schiltknecht
-- strict thread matches above, loose matches on Subject: below --
2006-12-29 11:13 Màrius Montón
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a4d4ca0704161459g45e5988fmabf3ea8f3fe26e64@mail.gmail.com \
--to=edusaper@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).