Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2010-02-14T05:30:28 ActivePerl-1003 CPAN-1.9402 Going to read '/export/home/fly1003/var/cpan/Metadata' Database was generated on Sat, 13 Feb 2010 22:43:37 GMT Running make for J/JH/JHI/Time-HiRes-1.9720.tar.gz Checksum for /net/nas/data/cpan/authors/id/J/JH/JHI/Time-HiRes-1.9720.tar.gz ok Will not use Archive::Tar, need 1.00 Time-HiRes-1.9720/ Time-HiRes-1.9720/Changes Time-HiRes-1.9720/fallback/ Time-HiRes-1.9720/hints/ Time-HiRes-1.9720/HiRes.pm Time-HiRes-1.9720/HiRes.xs Time-HiRes-1.9720/Makefile.PL Time-HiRes-1.9720/MANIFEST Time-HiRes-1.9720/META.yml Time-HiRes-1.9720/ppport.h Time-HiRes-1.9720/README Time-HiRes-1.9720/t/ Time-HiRes-1.9720/TODO Time-HiRes-1.9720/typemap Time-HiRes-1.9720/t/HiRes.t Time-HiRes-1.9720/hints/aix.pl Time-HiRes-1.9720/hints/dec_osf.pl Time-HiRes-1.9720/hints/dynixptx.pl Time-HiRes-1.9720/hints/irix.pl Time-HiRes-1.9720/hints/linux.pl Time-HiRes-1.9720/hints/sco.pl Time-HiRes-1.9720/hints/solaris.pl Time-HiRes-1.9720/hints/svr4.pl Time-HiRes-1.9720/fallback/const-c.inc Time-HiRes-1.9720/fallback/const-xs.inc CPAN.pm: Going to build J/JH/JHI/Time-HiRes-1.9720.tar.gz >>> /export/home/fly1003/bin/perl Makefile.PL Configuring Time::HiRes... Using hints hints/solaris.pl... Extra libraries: -lrt... Have syscall()... looking for syscall.h... found . Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and getitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... testing... found. You can mix subsecond sleeps with signals, if you want to. (It's still not portable, though.) Looking for clock_gettime()... found. Looking for clock_getres()... found. Looking for clock_nanosleep()... NOT found. Looking for clock()... found. Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...NOT found. Trying struct stat st_atimensec...NOT found. Trying struct stat st_atime_n...NOT found. Trying struct stat st_atim.tv_nsec...found. Trying struct stat st_uatime...Processing hints file hints/solaris.pl NOT found. You seem to have stat() subsecond timestamps. (Your struct stat has them, but the filesystems must help.) Checking if your kit is complete... Looks good Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. >>> make cp HiRes.pm blib/lib/Time/HiRes.pm /export/home/fly1003/bin/perl /export/home/fly1003/var/megalib/ExtUtils/xsubpp -typemap /export/home/fly1003/ap1003/lib/ExtUtils/typemap -typemap typemap HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c cc -c -D_REENTRANT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.9720\" -DXS_VERSION=\"1.9720\" -KPIC "-I/export/home/fly1003/ap1003/lib/CORE" -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK_GETTIME -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=4 -DATLEASTFIVEOHOHFIVE HiRes.c Running Mkbootstrap for Time::HiRes () chmod 644 HiRes.bs rm -f blib/arch/auto/Time/HiRes/HiRes.so LD_RUN_PATH="/usr/lib" cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib HiRes.o -o blib/arch/auto/Time/HiRes/HiRes.so \ -lrt \ chmod 755 blib/arch/auto/Time/HiRes/HiRes.so cp HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs chmod 644 blib/arch/auto/Time/HiRes/HiRes.bs Manifying blib/man3/Time::HiRes.3 JHI/Time-HiRes-1.9720.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1003/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/HiRes.t .. 1..48 ok 1 # have_gettimeofday = 1 # have_usleep = 1 # have_nanosleep = 1 # have_ualarm = 1 # have_clock_gettime = 1 # have_clock_getres = 1 # have_clock_nanosleep = 0 # have_clock = 1 # have_hires_stat = 4 # I am the main process 24316, starting the timer process... # The timer process 24317 launched, continuing testing... ok 2 ok 3 # I am the timer process 24317, sleeping for 360 seconds... ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1266154247, two = 1266154247, three = 1266154247 ok 13 # tick = 3, one = 1266154247, two = 1266154247, three = 1266154247 ok 14 # s = 19.0346870422363, n = 100, s/n = 0.190346870422363 # time...1266154247.21819 ok 15 # sleep...0.501828 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.329983 # Select returned! 4 0.33013 # 0.889956666666667 # Tick! 3 0.639933 # Select returned! 3 0.640003 # 0.786665666666667 # Tick! 2 0.949929 # Select returned! 2 0.949993 # 0.683335666666667 # Tick! 1 1.259929 # Select returned! 1 1.259994 # 0.580002 # Tick! 0 1.570007 # Select returned! 0 1.570131 # 0.476623 ok 17 # 0 # setitimer: ok 18 # getitimer: 0 0 # getitimer: 0 0 ok 19 ok 20 # 1.51816916465759 went by while sleeping 1.5, ratio 1.01209933333333. ok 21 # 1.51992082595825 went by while sleeping 1.5, ratio 1.013256. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 # Finding delay loop... # N = 1024, t1 = 1266154252.88103, t0 = 1266154252.88062, dt = 0.000411033630371094 # N = 2048, t1 = 1266154252.88188, t0 = 1266154252.88107, dt = 0.000806808471679688 # N = 4096, t1 = 1266154252.88351, t0 = 1266154252.8819, dt = 0.00160980224609375 # N = 8192, t1 = 1266154252.88675, t0 = 1266154252.88354, dt = 0.00321793556213379 # N = 16384, t1 = 1266154252.89321, t0 = 1266154252.88678, dt = 0.00643301010131836 # N = 32768, t1 = 1266154252.9061, t0 = 1266154252.89324, dt = 0.0128629207611084 # Alarm 1 - 1266154252.92008 # Alarm 2 - 1266154252.93007 ok 29 # CLOCK_REALTIME: try = 1 # t1 = 1266154254.6001, t0 = 1266154253.08673 # dt = 1.51336932182312, rt = 0.00891288121541334 ok 30 ok 31 # tr = 0.01 # No clock_nanosleep ok 32 # skipped # clock = 0 # clock = 0 0.42 # clock = 0 0.42 0.82 # clock = 0 0.42 0.82 1.25 ok 33 # t0 = 1266154255.85673 # ualarm(100000) # t1 = 1266154255.96012 # dt = 0.103388071060181 # r = 1.03388071060181 ok 34 # t0 = 1266154255.96035 # ualarm(1100000) # t1 = 1266154257.07009 # dt = 1.10973310470581 # r = 1.00884827700528 ok 35 # t0 = 1266154257.07028 # ualarm(2200000) # t1 = 1266154259.28016 # dt = 2.20988011360168 # r = 1.00449096072804 ok 36 # t0 = 1266154259.28045 # ualarm(4300000) # t1 = 1266154263.5901 # dt = 4.30965209007263 # r = 1.00224467210991 ok 37 # mtime = 1266154263.79 1266154264.04 1266154264.31 1266154264.57 1266154264.94 # atime = 1266154263.59 1266154263.59 1266154263.59 1266154263.59 1266154263.59 # ai = 4, mi = 4, ss = 8 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 # t0 = 1266154269.08121 # t1 = 1266154269.38121 # t1 - t0 = 0.300000905990601 ok 46 ok 47 ok 48 # I am the main process 24316, terminating the timer process 24317 # before it terminates me in 335 seconds (testing took 24 seconds). # kill KILL 24317 = 1 # All done. ok All tests successful. Files=1, Tests=48, 25 wallclock secs ( 0.10 usr 0.01 sys + 13.67 cusr 0.04 csys = 13.82 CPU) Result: PASS JHI/Time-HiRes-1.9720.tar.gz make test TEST_VERBOSE=1 -- OK Jarkko Hietaniemi <jhi@iki.fi> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /export/home/fly1003/var/cpan/build/Time-HiRes-1.9720-kKfs0C && tar cvf - Time-HiRes-1.9720.ppd blib) | gzip -c >/export/home/fly1003/var/REPO/J/JH/JHI/Time-HiRes-1.9720.tar.gz Time-HiRes-1.9720.ppd blib/ blib/lib/ blib/lib/Time/ blib/lib/Time/HiRes.pm blib/arch/ blib/arch/auto/ blib/arch/auto/Time/ blib/arch/auto/Time/HiRes/ blib/arch/auto/Time/HiRes/HiRes.so blib/arch/auto/Time/HiRes/HiRes.bs blib/man3/ blib/man3/Time::HiRes.3 >>> mv /export/home/fly1003/var/cpan/build/Time-HiRes-1.9720-kKfs0C/Time-HiRes-1.9720.ppd /export/home/fly1003/var/REPO/J/JH/JHI Finished 2010-02-14T05:31:10