Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: How to measure time for a particular code section?

by Anonymous Monk
on Nov 24, 2012 at 21:51 UTC ( #1005429=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to measure time for a particular code section?
in thread How to measure time for a particular code section?

"..However it takes much more than that.."
How do you know that?


Comment on Re^3: How to measure time for a particular code section?
Re^4: How to measure time for a particular code section?
by abdullah.yildiz (Novice) on Nov 24, 2012 at 22:07 UTC
    Thank you for your answer. I meant I waited too much to finish it. Additionally, The code
    my $start_time = [Time::HiRes::gettimeofday()]; . . . my ($user, $system, $child_user, $child_system) = times; print "wall clock time was ", Time::HiRes::tv_interval($start_time), " +\n", "user time for $$ was $user\n", "system time for $$ was $system\n", "user time for all children was $child_user\n", "system time for all children was $child_system\n";
    gives different results with respect to benchmark. Sorry for any foolish comments.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-09-20 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls