From: "Alain M." <alainm@pobox.com>
To: dosEmu-list <linux-msdos@vger.kernel.org>
Subject: What timer should I use
Date: Thu, 08 Nov 2007 15:23:45 -0200 [thread overview]
Message-ID: <47334621.5010002@pobox.com> (raw)
Hi,
What should be the best policy to real time in units of 1ms under dosemu?
1) use of the HW timer is not good because it needs HW access.
2) using the Pentium RDTSC works, but I read a lot that it can ger
strange on newer machines
3) is there a way to qwery the Linux timer using gettimeofday() ??
In hope that I get some answers,
thanks,
Alain
reply other threads:[~2007-11-08 17:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47334621.5010002@pobox.com \
--to=alainm@pobox.com \
--cc=linux-msdos@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox