http://www.perlmonks.org?node_id=1005429


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.