This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Benchmark: move elapsed time calc into method
authorDavid Mitchell <davem@iabyn.com>
Thu, 26 Nov 2015 13:51:29 +0000 (13:51 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 26 Nov 2015 16:04:54 +0000 (16:04 +0000)
commitbabeed279c5f867ce4148669b3bf8f30e8254a9f
treeecd2545cea9eec0d314503c5e48db671a23e5451
parentc0236afee0c5845d3823612c5cd34eccc4d29321
Benchmark: move elapsed time calc into method

A couple of places do basically the same set of summing various times()
fields within a Benchmark object, so make it into a private method.
lib/Benchmark.pm