Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

mod_perl 2.0 and Benchmark and Time::Hires results in multiples of .015625

by mbeast (Beadle)
on Oct 22, 2004 at 14:13 UTC ( [id://401480]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use Benchmark;
    ...
    
       my $compute_time = timediff($end_time, $start_time);
    }
    
  2. or download this
    use Time::HiRes qw(gettimeofday tv_interval);
    
    sub handler {
    ...
    
       my $compute_time = tv_interval($start_time_t,$end_time_t);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://401480]
Approved by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-14 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found