I'd recommend using a much finer granularity than sleep, perhaps Time::HiRes has what you are looking for, though I'm not sure if it works under Windows.
use Time::HiRes qw( usleep ); usleep ($microseconds);
-Blake
In reply to Re: gulpng CPU with precision
by blakem
in thread gulpng CPU with precision
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |