Some versions (of perl?) are buggy and return a low resultion value:
#!/usr/bin/perl use Time::HiRes qw(gettimeofday); for (1..10) { ($secs, $micro) = gettimeofday(); print "$secs.$micro\n"; }
outputs
1133364163.866375 1133364163.866375 1133364163.866375 1133364163.866375 1133364163.882000 1133364163.882000 1133364163.882000 1133364163.882000 1133364163.882000 1133364163.882000
on my ActivePerl 5.8.0
In reply to Re: OT How fast a cpu to overwhelm Time::HiRes
by ikegami
in thread OT How fast a cpu to overwhelm Time::HiRes
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |