Revision history for Perl extension Time::HiRes.
+1.86 [2005-12-17]
+ - HiRes.t:s/ok 32/ok 33/, from Dominic Dunlop
+ - tighten up the clock() test marginally by requiring non-negative
+ - clock_nanosleep() and clock() doc tweaks
+
1.85 [2005-12-16]
- the interface to clock_nanosleep() is more natural
when it is like (hires) time() (instead of like nanosleep),
d_nanosleep d_clock_gettime d_clock_getres
d_clock d_clock_nanosleep);
-$VERSION = '1.85';
+$VERSION = '1.86';
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
$realtime = clock_gettime(CLOCK_REALTIME);
$resolution = clock_getres(CLOCK_REALTIME);
- clock_nanosleep(CLOCK_REALTIME, 1.5, TIMER_ABSTIME);
+ clock_nanosleep(CLOCK_REALTIME, 1.5);
+ clock_nanosleep(CLOCK_REALTIME, time() + 10, TIMER_ABSTIME);
my $ticktock = clock();
child processes for which wait() has been executed. This value is
somewhat like the second value returned by the times() of core Perl,
but not necessarily identical. Note that due to backward
-compatibility limitations the returned may wrap around at about 2147
-seconds or at about 36 minutes.
+compatibility limitations the returned value may wrap around at about
+2147 seconds or at about 36 minutes.
=back