abdullah.yildiz has asked for the wisdom of the Perl Monks concerning the following question:
Does $diff give the real execution time during which the particular code is executed?#START $start_time = [Time::HiRes::gettimeofday()]; #MY CODE GOES HERE #FINISH $diff = Time::HiRes::tv_interval($start_time);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to measure time for a particular code section?
by zentara (Cardinal) on Nov 24, 2012 at 21:02 UTC | |
by abdullah.yildiz (Novice) on Nov 24, 2012 at 21:20 UTC | |
by abdullah.yildiz (Novice) on Nov 24, 2012 at 21:27 UTC | |
by zentara (Cardinal) on Nov 25, 2012 at 11:51 UTC | |
by abdullah.yildiz (Novice) on Nov 25, 2012 at 12:18 UTC | |
by Anonymous Monk on Nov 24, 2012 at 21:51 UTC | |
by abdullah.yildiz (Novice) on Nov 24, 2012 at 22:07 UTC |