Timer::Runtime - time a programs runtime
Version 0.03
Timer::Runtime wraps a program with START and END blocks used to get the start/stop times and caculate the runtime duration. This information is printed to STDOUT. Note that if the program exists using 'exec', then the stop time won't be seen due to the END block in Timer::Runtime not being called.
use Timer::Runtime; # output > <script_name> Started: Thu Aug 12 20:34:49 2010 > <script_name> Finished: Thu Aug 12 20:34:49 2010, elapsed time = 00:00:00.000114
Adam H Wohld, <adam at radarlabs.com>
<adam at radarlabs.com>
Please report any bugs or feature requests to bug-timer-runtime at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Timer-Runtime. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-timer-runtime at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Timer::Runtime
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Timer-Runtime
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Timer-Runtime
CPAN Ratings
http://cpanratings.perl.org/d/Timer-Runtime
Search CPAN
http://search.cpan.org/dist/Timer-Runtime/
Copyright 2011 Adam Wohld.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Timer::Runtime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Timer::Runtime
CPAN shell
perl -MCPAN -e shell install Timer::Runtime
For more information on module installation, please visit the detailed CPAN module installation guide.