in reply to gulpng CPU with precision
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: gulpng CPU with precision
by John M. Dlugosz (Monsignor) on Aug 14, 2001 at 06:19 UTC | |
by blakem (Monsignor) on Aug 14, 2001 at 10:45 UTC | |
by John M. Dlugosz (Monsignor) on Aug 14, 2001 at 12:11 UTC |