Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2010-03-18T05:01:05 ActivePerl-1003 CPAN-1.9402 Going to read '/export/home/fly1003/var/cpan/Metadata' Database was generated on Wed, 17 Mar 2010 21:32:38 GMT Running make for J/JH/JHI/Time-HiRes-1.9721.tar.gz Checksum for /net/nas/data/cpan/authors/id/J/JH/JHI/Time-HiRes-1.9721.tar.gz ok Will not use Archive::Tar, need 1.00 Time-HiRes-1.9721/ Time-HiRes-1.9721/Changes Time-HiRes-1.9721/fallback/ Time-HiRes-1.9721/hints/ Time-HiRes-1.9721/HiRes.pm Time-HiRes-1.9721/HiRes.xs Time-HiRes-1.9721/Makefile.PL Time-HiRes-1.9721/MANIFEST Time-HiRes-1.9721/META.yml Time-HiRes-1.9721/ppport.h Time-HiRes-1.9721/README Time-HiRes-1.9721/t/ Time-HiRes-1.9721/TODO Time-HiRes-1.9721/typemap Time-HiRes-1.9721/t/HiRes.t Time-HiRes-1.9721/hints/aix.pl Time-HiRes-1.9721/hints/dec_osf.pl Time-HiRes-1.9721/hints/dynixptx.pl Time-HiRes-1.9721/hints/irix.pl Time-HiRes-1.9721/hints/linux.pl Time-HiRes-1.9721/hints/sco.pl Time-HiRes-1.9721/hints/solaris.pl Time-HiRes-1.9721/hints/svr4.pl Time-HiRes-1.9721/fallback/const-c.inc Time-HiRes-1.9721/fallback/const-xs.inc CPAN.pm: Going to build J/JH/JHI/Time-HiRes-1.9721.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.9721\" -DXS_VERSION=\"1.9721\" -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.9721.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 24679, starting the timer process... # I am the timer process 24680, sleeping for 360 seconds... # The timer process 24680 launched, continuing testing... ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1268913684, two = 1268913684, three = 1268913684 ok 13 # tick = 3, one = 1268913684, two = 1268913684, three = 1268913684 ok 14 # s = 75.1164054870605, n = 100, s/n = 0.751164054870605 # time...1268913684.78027 ok 15 # sleep...0.508862 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.31991 # Select returned! 4 0.320898 # 0.893034 # Tick! 3 0.630022 # Select returned! 3 0.630248 # 0.789917333333333 # Tick! 2 0.939893 # Select returned! 2 0.940819 # 0.686393666666667 # Tick! 1 1.249795 # Select returned! 1 1.249869 # 0.583377 # Tick! 0 1.559947 # Select returned! 0 1.560145 # 0.479951666666667 ok 17 # 0 # setitimer: ok 18 # getitimer: 0 0 # getitimer: 0 0 ok 19 ok 20 # 1.51790308952332 went by while sleeping 1.5, ratio 1.011902. ok 21 # 1.51983094215393 went by while sleeping 1.5, ratio 1.01319266666667. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 # Finding delay loop... # N = 1024, t1 = 1268913690.44141, t0 = 1268913690.441, dt = 0.000409841537475586 # N = 2048, t1 = 1268913690.44231, t0 = 1268913690.44148, dt = 0.000826120376586914 # N = 4096, t1 = 1268913690.44396, t0 = 1268913690.44235, dt = 0.00161409378051758 # N = 8192, t1 = 1268913690.44721, t0 = 1268913690.44398, dt = 0.00322389602661133 # N = 16384, t1 = 1268913690.45387, t0 = 1268913690.44724, dt = 0.00663208961486816 # N = 32768, t1 = 1268913690.46799, t0 = 1268913690.45396, dt = 0.0140311717987061 # Alarm 1 - 1268913690.48018 # Alarm 2 - 1268913690.49008 ok 29 # CLOCK_REALTIME: try = 1 # t1 = 1268913692.17018, t0 = 1268913690.65424 # dt = 1.51594257354736, rt = 0.0106283823649089 ok 30 ok 31 # tr = 0.01 # No clock_nanosleep ok 32 # skipped # clock = 0 # clock = 0 0.39 # clock = 0 0.39 0.78 # clock = 0 0.39 0.78 1.18 ok 33 # t0 = 1268913693.36146 # ualarm(100000) # t1 = 1268913693.47016 # dt = 0.108695030212402 # r = 1.08695030212402 ok 34 # t0 = 1268913693.4722 # ualarm(1100000) # t1 = 1268913694.5802 # dt = 1.10800099372864 # r = 1.0072736306624 ok 35 # t0 = 1268913694.58262 # ualarm(2200000) # t1 = 1268913696.79015 # dt = 2.20753693580627 # r = 1.00342587991194 ok 36 # t0 = 1268913696.79255 # ualarm(4300000) # t1 = 1268913701.10021 # dt = 4.30765509605408 # r = 1.0017802548963 ok 37 # mtime = 1268913701.26 1268913701.55 1268913701.79 1268913702.06 1268913702.3 # atime = 1268913701.1 1268913701.1 1268913701.1 1268913701.1 1268913701.1 # ai = 4, mi = 4, ss = 8 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 # t0 = 1268913706.48437 # t1 = 1268913706.78437 # t1 - t0 = 0.300000905990601 ok 46 ok 47 ok 48 # I am the main process 24679, terminating the timer process 24680 # before it terminates me in 335 seconds (testing took 24 seconds). # kill KILL 24680 = 1 # All done. ok All tests successful. Files=1, Tests=48, 24 wallclock secs ( 0.12 usr 0.01 sys + 13.51 cusr 0.03 csys = 13.67 CPU) Result: PASS JHI/Time-HiRes-1.9721.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.9721-qlzi1J && tar cvf - Time-HiRes-1.9721.ppd blib) | gzip -c >/export/home/fly1003/var/REPO/J/JH/JHI/Time-HiRes-1.9721.tar.gz Time-HiRes-1.9721.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.9721-qlzi1J/Time-HiRes-1.9721.ppd /export/home/fly1003/var/REPO/J/JH/JHI Finished 2010-03-18T05:01:49