Timer::Runtime - time a programs runtime
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>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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.