qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] How to measure precise system time in qemu?


From: 陳韋任
Subject: Re: [Qemu-devel] How to measure precise system time in qemu?
Date: Wed, 23 May 2012 22:21:37 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

> Is there anything else can help me get more precise execution time?

  From the COREMU guys, I was told that you can use rdtsc to get pretty accurate
timing on x86 guest/host. And from the chat on IRC, Peter told me you can use
SYS_CLOCK/SYS_TIME on a ARM guest to get the host time.

  I think you can use `time` to measure the timing in user mode, but things
seems get quit complicate in system mode.

Regards,
chenwj

[1] http://blog.gmane.org/gmane.comp.emulators.qemu.coremu.devel/month=20120401

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj



reply via email to

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