This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the new Time::HiRes constants to @EXPORT_OK.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 14 Jan 2016 00:11:57 +0000 (19:11 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 13 Feb 2016 16:39:11 +0000 (11:39 -0500)
dist/Time-HiRes/HiRes.pm

index 843d586..6502b13 100644 (file)
@@ -12,8 +12,13 @@ our @EXPORT = qw( );
 our @EXPORT_OK = qw (usleep sleep ualarm alarm gettimeofday time tv_interval
                 getitimer setitimer nanosleep clock_gettime clock_getres
                 clock clock_nanosleep
-                CLOCK_HIGHRES CLOCK_MONOTONIC CLOCK_PROCESS_CPUTIME_ID
-                CLOCK_REALTIME CLOCK_SOFTTIME CLOCK_THREAD_CPUTIME_ID
+                CLOCK_BOOTTIME CLOCK_HIGHRES
+                CLOCK_MONOTONIC CLOCK_MONOTONIC_COARSE
+                CLOCK_MONOTONIC_PRECISE CLOCK_MONOTONIC_RAW
+                CLOCK_PROCESS_CPUTIME_ID
+                CLOCK_REALTIME CLOCK_REALTIME_COARSE
+                CLOCK_REALTIME_FAST CLOCK_REALTIME_PRECISE
+                CLOCK_SECOND CLOCK_SOFTTIME CLOCK_THREAD_CPUTIME_ID
                 CLOCK_TIMEOFDAY CLOCKS_PER_SEC
                 ITIMER_REAL ITIMER_VIRTUAL ITIMER_PROF ITIMER_REALPROF
                 TIMER_ABSTIME