From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alain M." Subject: What timer should I use Date: Thu, 08 Nov 2007 15:23:45 -0200 Message-ID: <47334621.5010002@pobox.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: dosEmu-list 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