[Top][All Lists]

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

Re: [Qemu-devel] time inside qemu

From: Màrius Montón
Subject: Re: [Qemu-devel] time inside qemu
Date: Fri, 29 Dec 2006 18:53:37 +0100
User-agent: Thunderbird (Windows/20061207)


As I understand, OSes running inside qemu "have" notion of time: (its date and time works, time(1) command works, etc.).
My question is about how qemu manages time. I need to stop and start again this "virtual-time".

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..


Paul Brook wrote:
On Friday 29 December 2006 16:22, Màrius Montón wrote:

For my work on QEMU-SC, I need to stop time inside qemu.
I need it in order to simulate HW modules with SystemC simulator, and
meanwhile stop qemu time.
In this way, applications running on qem should see its time freeze, and
measurements of total time spent by application + specific HW be more
realistic (now, total time is the sum of SW + HW simulation )

qemu is not cycle accurate or even deterministic.

Fabrice was working on some code to make it deterministic, but he never posted 
the code.



Màrius Montón i Macián   address@hidden   http://cephis.uab.es
Hardware Engineer
Centre de Prototips i Solucions Hardware-Software
Dep. Microelectrònica i Sistemes Electrònics
ETSE - Universitat Autònoma de Barcelona (UAB)
Phone: +34 935 813 534
Fax: +34 935 813 033
QC-2090D. ETSE. Campus UAB.
080193 Bellaterra

Attachment: marius.monton.vcf
Description: Vcard

reply via email to

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