Name : perl-Sub-Timekeeper
| |
Version : 0.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.11
| Date : 2017-08-04 17:19:32
|
Group : Development/Libraries/Perl
| Source RPM : perl-Sub-Timekeeper-0.01-6.11.src.rpm
|
Size : 0.00 MB
| |
Packager : (none)
| |
Summary : calls a function with a stopwatch
|
Description :
The module exports the \'timekeeper\' function, that can be used to measure the time spent to execute a function. The duration is set to the first argument in seconds (as a floating point value).
The duration is set regardless of whether the called function returned normally or by an exception. In other words the following snippet will report the correct duration.
my $elapsed; eval { timekeeper($elapsed, sub { ... } }; if ($AATT) { warn \"got error $AATT after $elapsed seconds\"; }
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/openSUSE_Tumbleweed/noarch |