> What resolution are you getting ?
> 
> I get like 3 or 4 mics for a minimum sleep.
> 
> use Time::HiRes qw(usleep);
> 
> for (1 .. 10) {
>       my $amics = usleep (0.000000001);
>       printf "%u mics\n", $amics;
> }

I had heard that any kind of timing on Windows won't go below 1ms
resolution - the following would seem to back that up:

http://www.sysinternals.com/Information/HighResolutionTimers.html

Does anybody know if it is possible to go lower than this?

Paul

*****************************************************************
Gloucester Research Limited believes the information 
provided herein is reliable. While every care has been 
taken to ensure accuracy, the information is furnished 
to the recipients with no warranty as to the completeness 
and accuracy of its contents and on condition that any 
errors or omissions shall not be made the basis for any 
claim, demand or cause for action.

The information in this email is intended only for the 
named recipient.  If you are not the intended recipient
please notify us immediately and do not copy, distribute 
or take action based on this e-mail.

Gloucester Research Limited, 5th Floor, Whittington House, 
19-30 Alfred Place, London WC1E 7EA
*****************************************************************

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to