* [Qemu-devel] Virtual timer (future) status
@ 2015-01-30 15:23 Stefano Angeleri
0 siblings, 0 replies; only message in thread
From: Stefano Angeleri @ 2015-01-30 15:23 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
Hi,
I need to syncronize the simulation time of QEMU with another tool.
In order to do so I'd need to know in advance at least a rough estimation
of how much the virtual timer will progress upon executing the next block
of instruction(s) (QEMU_CLOCK_VIRTUAL_RT/QEMU_CLOCK_VIRTUAL)
in qemu/cpus.c seems there are some function which sound like might give me
an approximate result (by knowing how many instructions are going to be
executed next) like cpu_get_icount with cpu_icount_to_ns. Is that a right
approach?
On OVP there is a lookup table in order to figure out how much an
instruction is going to take is there something similar in QEMU? Or a more
appropriate way to obtain these results?
Thanks in advance for any help.
Stefano
[-- Attachment #2: Type: text/html, Size: 893 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-30 15:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 15:23 [Qemu-devel] Virtual timer (future) status Stefano Angeleri
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).