qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Virtual timer (future) status


From: Stefano Angeleri
Subject: [Qemu-devel] Virtual timer (future) status
Date: Fri, 30 Jan 2015 16:23:08 +0100

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

reply via email to

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