| 1 |
|
| 2 |
Time::Stopwatch -- version 0.03 |
| 3 |
|
| 4 |
The Time::Stopwatch module provides a convenient interface to timing |
| 5 |
functions through tied scalars. From the point of view of the user, |
| 6 |
scalars tied to the module simply increase their value by one every |
| 7 |
second. |
| 8 |
|
| 9 |
Installing the Time::HiRes module lets Time::Stopwatch timers provide |
| 10 |
sub-second accuracy. This feature will be automatically enabled if |
| 11 |
Time::HiRes is present. |
| 12 |
|
| 13 |
To install, just do: |
| 14 |
|
| 15 |
perl Makefile.PL |
| 16 |
make |
| 17 |
make test |
| 18 |
make install |
| 19 |
|
| 20 |
If Time::HiRes is not installed, some tests will be skipped. |
| 21 |
|
| 22 |
Alternatively you may simply put Stopwatch.pm in a subdirectory Time |
| 23 |
wherever you like to keep your perl modules. |
| 24 |
|
| 25 |
Copyright (c) 2000-2001 Ilmari Karonen. All rights reserved. This |
| 26 |
library is free software; you can redistribute it and/or modify it |
| 27 |
under the same terms as Perl itself. |
| 28 |
|
| 29 |
Address bug reports and comments to: [email protected] |
| 30 |
|