From blair at orcaware.com Mon Sep 22 09:07:22 2003 From: blair at orcaware.com (Blair Zajac) Date: Mon, 22 Sep 2003 09:07:22 -0700 Subject: [Orca-checkins] rev 249 - in trunk/orca: . packages/Time-HiRes-1.50 packages/Time-HiRes-1.51 packages/Time-HiRes-1.51/hints packages/Time-HiRes-1.51/t Message-ID: <200309221607.h8MG7MAb025904@orcaware.com> Author: blair Date: Mon Sep 22 09:05:48 2003 New Revision: 249 Added: trunk/orca/packages/Time-HiRes-1.51/ - copied from rev 248, trunk/orca/packages/Time-HiRes-1.50/ trunk/orca/packages/Time-HiRes-1.51/hints/svr4.pl Removed: trunk/orca/packages/Time-HiRes-1.50/ Modified: trunk/orca/INSTALL trunk/orca/configure.in trunk/orca/packages/Time-HiRes-1.51/Changes trunk/orca/packages/Time-HiRes-1.51/HiRes.pm trunk/orca/packages/Time-HiRes-1.51/MANIFEST trunk/orca/packages/Time-HiRes-1.51/Makefile.PL trunk/orca/packages/Time-HiRes-1.51/t/HiRes.t Log: Upgrade Time::HiRes from 1.50 to 1.51. * INSTALL (Determine which Perl modules need compiling and installing): Update all references to Time::HiRes's version number from 1.50 to 1.51. * configure.in: Bump Time::HiRes's version number to 1.51. * packages/Time-HiRes-1.51: Renamed from packages/Time-HiRes-1.50. Directory contents updated from Time-HiRes-1.51.tar.gz. Modified: trunk/orca/INSTALL ============================================================================== --- trunk/orca/INSTALL (original) +++ trunk/orca/INSTALL Mon Sep 22 09:05:48 2003 @@ -177,7 +177,7 @@ Math::IntervalSearch >= 1.05 >= 1.05 1.05 RRDs >= 1.000451 >= 1.0.45 1.0.45 Storable >= 2.07 >= 2.07 2.07 - Time::HiRes Not required by Orca 1.50 + Time::HiRes Not required by Orca 1.51 All seven of these modules are included with the Orca distribution in the packages directory. When you configure Orca in step 3), @@ -278,10 +278,10 @@ Time::HiRes - http://www.perl.com/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.50.tar.gz + http://www.perl.com/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.51.tar.gz - % gunzip -c Time-HiRes-1.50.tar.gz | tar xvf - - % cd Time-HiRes-1.50 + % gunzip -c Time-HiRes-1.51.tar.gz | tar xvf - + % cd Time-HiRes-1.51 % perl Makefile.PL % make % make test Modified: trunk/orca/configure.in ============================================================================== --- trunk/orca/configure.in (original) +++ trunk/orca/configure.in Mon Sep 22 09:05:48 2003 @@ -41,8 +41,8 @@ RRDTOOL_VER=1.000451 STORABLE_DIR=Storable-2.07 STORABLE_VER=2.07 -TIME_HIRES_DIR=Time-HiRes-1.50 -TIME_HIRES_VER=1.50 +TIME_HIRES_DIR=Time-HiRes-1.51 +TIME_HIRES_VER=1.51 AC_SUBST(COMPRESS_ZLIB_DIR) AC_SUBST(DATA_DUMPER_DIR) Modified: trunk/orca/packages/Time-HiRes-1.51/Changes ============================================================================== --- trunk/orca/packages/Time-HiRes-1.50/Changes (original) +++ trunk/orca/packages/Time-HiRes-1.51/Changes Mon Sep 22 09:05:48 2003 @@ -1,5 +1,9 @@ Revision history for Perl extension Time::HiRes. +1.51 + - doc tweaks from mjd (perl change #20456) + - NCR MP-RAS hints file added (svr4.pl) (perl change #21249) + 1.50 - add a message (for non-core builds) to Makefile.PL about the LC_ALL=C workaround Modified: trunk/orca/packages/Time-HiRes-1.51/HiRes.pm ============================================================================== --- trunk/orca/packages/Time-HiRes-1.50/HiRes.pm (original) +++ trunk/orca/packages/Time-HiRes-1.51/HiRes.pm Mon Sep 22 09:05:48 2003 @@ -15,7 +15,7 @@ d_usleep d_ualarm d_gettimeofday d_getitimer d_setitimer d_nanosleep); -$VERSION = '1.50'; +$VERSION = '1.51'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -83,33 +83,33 @@ =head1 DESCRIPTION -The Time::HiRes module implements a Perl interface to the usleep, -ualarm, gettimeofday, and setitimer/getitimer system calls, in other -words, high resolution time and timers. See the EXAMPLES section below +The C module implements a Perl interface to the C, +C, C, and C/C system calls, in other +words, high resolution time and timers. See the L section below and the test scripts for usage; see your system documentation for the -description of the underlying nanosleep or usleep, ualarm, -gettimeofday, and setitimer/getitimer calls. +description of the underlying C or C, C, +C, and C/C calls. -If your system lacks gettimeofday() or an emulation of it you don't -get gettimeofday() or the one-arg form of tv_interval(). If you don't -have any of the nanosleep() or usleep() or select() you don't get -Time::HiRes::usleep() or Time::HiRes::sleep(). If your system don't -have either ualarm() or setitimer() you don't get -Time::HiRes::ualarm() or Time::HiRes::alarm(). +If your system lacks C or an emulation of it you don't +get C or the one-argument form of C. If your system lacks all of +C, C, and C, you don't get +C or C. If your system lacks both +C and C you don't get +C or C. If you try to import an unimplemented function in the C statement it will fail at compile time. -If your subsecond sleeping is implemented with nanosleep() instead of -usleep(), you can mix subsecond sleeping with signals since -nanosleep() does not use signals. This however is unportable, and you -should first check for the truth value of &Time::HiRes::d_nanosleep to -see whether you have nanosleep, and then read carefully your -nanosleep() C API documentation for any peculiarities. (There is no -separate interface to call nanosleep(); just use Time::HiRes::sleep() -or Time::HiRes::usleep() with small enough values.) +If your subsecond sleeping is implemented with C instead of +C, you can mix subsecond sleeping with signals since +C does not use signals. This, however is unportable, and you +should first check for the truth value of C<&Time::HiRes::d_nanosleep> to +see whether you have nanosleep, and then carefully read your +C C API documentation for any peculiarities. (There is no +separate interface to call C; just use C +or C with small enough values.) -Unless using nanosleep for mixing sleeping with signals, also give +Unless using C for mixing sleeping with signals, give some thought to whether Perl is the tool you should be using for work requiring nanosecond accuracies. @@ -122,50 +122,50 @@ In array context returns a two-element array with the seconds and microseconds since the epoch. In scalar context returns floating -seconds like Time::HiRes::time() (see below). +seconds like C (see below). =item usleep ( $useconds ) Sleeps for the number of microseconds specified. Returns the number -of microseconds actually slept. Can sleep for more than one second -unlike the usleep system call. See also Time::HiRes::sleep() below. +of microseconds actually slept. Can sleep for more than one second, +unlike the C system call. See also C below. =item ualarm ( $useconds [, $interval_useconds ] ) -Issues a ualarm call; the $interval_useconds is optional and -will be zero if unspecified, resulting in alarm-like behaviour. +Issues a C call; the C<$interval_useconds> is optional and +will be zero if unspecified, resulting in C-like behaviour. =item tv_interval tv_interval ( $ref_to_gettimeofday [, $ref_to_later_gettimeofday] ) Returns the floating seconds between the two times, which should have -been returned by gettimeofday(). If the second argument is omitted, +been returned by C. If the second argument is omitted, then the current time is used. =item time () Returns a floating seconds since the epoch. This function can be -imported, resulting in a nice drop-in replacement for the time -provided with core Perl, see the EXAMPLES below. +imported, resulting in a nice drop-in replacement for the C