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 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel