[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [Qemu-devel] Timing problems
From: |
Mulyadi Santosa |
Subject: |
Re: Re: [Qemu-devel] Timing problems |
Date: |
Wed, 31 Aug 2005 19:19:02 +0700 |
User-agent: |
KMail/1.5 |
Hello Sven...
> rdtsc gives you the cpu's clock count, which, if CPU frequency
> changes, or your code is run on different processors (multiprocessor
> machine), cannot be assumed to be related to real time anymore.
> Resolutionwise, the real time clock may be inferior, of course, as
> Jim mentioned. Jim: could you point me to this other patch? Thanks!
Oh, so sorry, I was mistakenly made conclusion about your patch. yes,
you are correct, get_clock() will do the trick....while rdtsc won't
work because the clock will run vary during speed-stepping....
The unified format of diff looks great! :)
regards
Mulyadi