logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Time::HR - Perl interface to high-resolution timer.

Author

       Alexander Golomshtok, golomshtok_alexander@jpmorgan.com

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

   Exportableconstants
          none

Name

       Time::HR - Perl interface to high-resolution timer.

See Also

       perl.

perl v5.40.0                                       2024-10-20                                            HR(3pm)

Synopsis

          use Time::HR;

          $hrtime  = gethrtime();

See Also