in reply to OT How fast a cpu to overwhelm Time::HiRes

You don't need a fast CPU for that. Just add two lines to your program:
use Memoize; memoize 'gettimeofday';
HTH. HAND.
Perl --((8:>*

Replies are listed 'Best First'.
Re^2: OT How fast a cpu to overwhelm Time::HiRes
by admiral_grinder (Pilgrim) on Nov 30, 2005 at 13:38 UTC
    That is good, but I don't think it is in the nature of the question. He is trying for 2 seperate timestamps from 2 seperate points in time that happens to look the same when rounded to microseconds. Your solution will just give him the timestamp from the first call twice.

      One joke leads almost inevitably to another:

      $admiral_grinder->append( Sense->new(of => "humor") );