PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2011-05-24T10:11:03 ActivePerl-1003 CPAN-1.9402 Going to read '/export/home/fly1003/var/cpan/Metadata' Database was generated on Mon, 23 May 2011 22:28:42 GMT Running make for Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz Checksum for /net/nas/data/cpan/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz ok Will not use Archive::Tar, need 1.00 Time-HiRes-1.9722/ Time-HiRes-1.9722/META.yml Time-HiRes-1.9722/MANIFEST Time-HiRes-1.9722/HiRes.pm Time-HiRes-1.9722/Changes Time-HiRes-1.9722/ppport.h Time-HiRes-1.9722/README Time-HiRes-1.9722/hints/ Time-HiRes-1.9722/hints/aix.pl Time-HiRes-1.9722/hints/dynixptx.pl Time-HiRes-1.9722/hints/solaris.pl Time-HiRes-1.9722/hints/linux.pl Time-HiRes-1.9722/hints/irix.pl Time-HiRes-1.9722/hints/dec_osf.pl Time-HiRes-1.9722/hints/svr4.pl Time-HiRes-1.9722/hints/sco.pl Time-HiRes-1.9722/TODO Time-HiRes-1.9722/HiRes.xs Time-HiRes-1.9722/fallback/ Time-HiRes-1.9722/fallback/const-c.inc Time-HiRes-1.9722/fallback/const-xs.inc Time-HiRes-1.9722/typemap Time-HiRes-1.9722/Makefile.PL Time-HiRes-1.9722/t/ Time-HiRes-1.9722/t/HiRes.t CPAN.pm: Going to build Z/ZE/ZEFRAM/Time-HiRes-1.9722.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.9722\" -DXS_VERSION=\"1.9722\" -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 ZEFRAM/Time-HiRes-1.9722.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 19968, starting the timer process... # The timer process 19969 launched, continuing testing... ok 2 ok 3 # I am the timer process 19969, 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 = 1306257083, two = 1306257083, three = 1306257083 ok 13 # tick = 3, one = 1306257083, two = 1306257083, three = 1306257083 ok 14 # s = 23.6317362785339, n = 100, s/n = 0.236317362785339 # time...1306257083.26509 ok 15 # sleep...0.500887 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.359856 # Select returned! 4 0.359989 # 0.880003666666667 # Tick! 3 0.66995 # Select returned! 3 0.67014 # 0.77662 # Tick! 2 0.979839 # Select returned! 2 0.979922 # 0.673359333333333 # Tick! 1 1.28993 # Select returned! 1 1.290099 # 0.569967 # Tick! 0 1.599839 # Select returned! 0 1.599914 # 0.466695333333333 ok 17 # 0 # setitimer: ok 18 # getitimer: 0 0 # getitimer: 0 0 ok 19 ok 20 # 1.51870822906494 went by while sleeping 1.5, ratio 1.01242333333333. ok 21 # 1.51933097839355 went by while sleeping 1.5, ratio 1.012856. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 # Finding delay loop... # N = 1024, t1 = 1306257088.95692, t0 = 1306257088.9565, dt = 0.000421047210693359 # N = 2048, t1 = 1306257088.9578, t0 = 1306257088.95698, dt = 0.000826835632324219 # N = 4096, t1 = 1306257088.95945, t0 = 1306257088.95783, dt = 0.0016171932220459 # N = 8192, t1 = 1306257088.96278, t0 = 1306257088.95948, dt = 0.00329995155334473 # N = 16384, t1 = 1306257088.96946, t0 = 1306257088.9628, dt = 0.00665521621704102 # N = 32768, t1 = 1306257088.98305, t0 = 1306257088.9695, dt = 0.0135509967803955 # Alarm 1 - 1306257088.99592 # Alarm 2 - 1306257089.00597 ok 29 # CLOCK_REALTIME: try = 1 # t1 = 1306257090.67596, t0 = 1306257089.16504 # dt = 1.51092219352722, rt = 0.00728146235148119 ok 30 ok 31 # tr = 0.01 # No clock_nanosleep ok 32 # skipped # clock = 0 # clock = 0 0.4 # clock = 0 0.4 0.81 # clock = 0 0.4 0.81 1.22 ok 33 # t0 = 1306257091.90641 # ualarm(100000) # t1 = 1306257092.01646 # dt = 0.110050916671753 # r = 1.10050916671753 ok 34 # t0 = 1306257092.01669 # ualarm(1100000) # t1 = 1306257093.12592 # dt = 1.10922980308533 # r = 1.00839073007757 ok 35 # t0 = 1306257093.12618 # ualarm(2200000) # t1 = 1306257095.33594 # dt = 2.20975995063782 # r = 1.00443634119901 ok 36 # t0 = 1306257095.33624 # ualarm(4300000) # t1 = 1306257099.64591 # dt = 4.30966997146606 # r = 1.0022488305735 ok 37 # mtime = 1306257099.78576 1306257100.26576 1306257100.78575 1306257101.12575 1306257101.81578 # atime = 1306257099.64576 1306257099.64576 1306257099.64576 1306257099.64576 1306257099.64576 # ai = 4, mi = 4, ss = 8 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 # t0 = 1306257106.31787 # t1 = 1306257106.61788 # t1 - t0 = 0.30000114440918 ok 46 ok 47 ok 48 # I am the main process 19968, terminating the timer process 19969 # before it terminates me in 334 seconds (testing took 25 seconds). # kill KILL 19969 = 1 # All done. ok All tests successful. Files=1, Tests=48, 26 wallclock secs ( 0.10 usr 0.00 sys + 13.50 cusr 0.03 csys = 13.63 CPU) Result: PASS ZEFRAM/Time-HiRes-1.9722.tar.gz make test TEST_VERBOSE=1 -- OK Andrew Main (Zefram) <zefram@fysh.org> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /export/home/fly1003/var/cpan/build/Time-HiRes-1.9722-QcQ8od && tar cvf - Time-HiRes-1.9722.ppd blib) | gzip -c >/export/home/fly1003/var/REPO/Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz Time-HiRes-1.9722.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.9722-QcQ8od/Time-HiRes-1.9722.ppd /export/home/fly1003/var/REPO/Z/ZE/ZEFRAM Finished 2011-05-24T10:11:51