What timer should I use

Alain M.
2007-11-08T17:23:45Z

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