All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mulyadi Santosa <a_mulyadi@softhome.net>
To: qemu-devel@nongnu.org, Sven Zenker <Sven.Zenker@gmx.net>
Subject: Re: Re: [Qemu-devel] Timing problems
Date: Mon, 29 Aug 2005 10:01:39 +0700	[thread overview]
Message-ID: <200508291001.39221.a_mulyadi@softhome.net> (raw)
In-Reply-To: <1125257033.24800.28.camel@linux.site>

Hello...

> It simply
> replaces the virtual timer mechanism based on CPU tick count (which
> is totally messed up in a SpeedStep setting) with calls to the
> realtime clock. It should work even when emulation is stopped
> intermittently, I hope, since the  built in "virtual clock stop"
> mechanism ist left unchanged.

Hm..... hard choice.....correctness traded for perfomance.... But 
anyway....IMHO this hack  is needed for every speed-step enabled 
machine. Perhaps...the other workaround is via cpufreqd? I don't have 
any Pentium M based PC/laptop around, so this is just a pure guess

BTW, your patch seems reversed....if you really mean you want to fetch 
realtime clock, you should use "rdtsc", right? But the patch seems 
replaced "rdtsc" with get_clock().... 

Another thing, IMHO it is better to use unified format (diff -u). More 
readable and i think it is a standart

regards

Mulyadi

  reply	other threads:[~2005-08-29  3:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-28 19:23 [Qemu-devel] Timing problems Sven Zenker
2005-08-29  3:01 ` Mulyadi Santosa [this message]
2005-08-29  3:21   ` Jim C. Brown
2005-08-30 21:08   ` Sven Zenker
2005-08-31 12:19     ` Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508291001.39221.a_mulyadi@softhome.net \
    --to=a_mulyadi@softhome.net \
    --cc=Sven.Zenker@gmx.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.