<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#ffffff"
text="#000000">
I haven't done much Windows stuff after XP, but in the 2000 and XP
days, the only way to get a (relatively) accurate sub-millisecond
timer was using select(), the call used to wait for network activity
- with no sockets to wait for. It uses some internal microsecond
accurate timer.<br>
<br>
<br>
Of course there are no guarantees, but on a lightly-loaded system,
with a high priority thread calling select() for sleep, I actually
managed to get a reasonably accurate 5.5ms timer on WinXP. <br>
<br>
No idea how Win7 and Win8 handle that, though.<br>
</body>
</html>