|
Benchmark::Timer::Class - Perl module for timing the execution of methods in a specified object |
Benchmark::Timer::Class - Perl module for timing the execution of methods in a specified object
use Benchmark::Timer::Class; use The_Real_Module; $obj = new The_Real_Module(); $th = new Benchmark::Timer::Class($obj); $th->method1_name_from_real_module(); $th->method2_name_from_real_module(); $th->method1_name_from_real_module(); $th->report();
The Benchmark::Timer::Class enables you to determine elapsed times for calls to methods of a specified object during normal running of your program with minimal amount of editing.
D. Neil, <perl@dougneil.co.uk>
the Time::HiRes manpage, the Benchmark::Timer manpage
Copyright(c) 2001 Doug Neil.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
Benchmark::Timer::Class - Perl module for timing the execution of methods in a specified object |