-
-
11 Apr 2002 13:54:03 UTC
- Distribution: Time-HR
- Module version: 0.02
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (269 / 1 / 1)
- Kwalitee
Bus factor: 0- 45.90% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (3.36KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Time::HR - Perl interface to high-resolution timer.
SYNOPSIS
use Time::HR; $hrtime = gethrtime();
DESCRIPTION
Time::HR is a very simple interface to high-resolution timer - it only supports one function call - gethrtime(). gethrtime() function returns current high-resolution real time value either as 64-bit integer (on systems with 64-bit support) or double value. Time is expressed as nanoseconds since some arbitrary time in the past; it is not correlated in any way to the time of day, and thus is not subject to resetting or drifting by way of adjtime or settimeofday. The high resolution timer is ideally suited to performance measurement tasks, where cheap, accurate interval timing is required. Currently, this extension is only supported on Solaris, Linux and Cygwin.
EXPORT
gethrtime
Exportable constants
none
AUTHOR
Alexander Golomshtok, golomshtok_alexander@jpmorgan.com
SEE ALSO
perl.
Module Install Instructions
To install Time::HR, copy and paste the appropriate command in to your terminal.
cpanm Time::HR
perl -MCPAN -e shell install Time::HR
For more information on module installation, please visit the detailed CPAN module installation guide.