Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?

Replies are listed 'Best First'.
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?
[Corion]: ambrus: Sorry for running out on you yesterday regarding the HTTP module discussion
[Corion]: I hope I'll find time to turn my quest(ion) into a SoPW ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-12-08 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (139 votes). Check out past polls.