Script started on Mon Mar 1 12:15:04 2004 78]0;KEK-Linac-ControlsKEK-Linac-Controls[1001]% foreach f (*TestHost epics*Test) foreach? echo foreach? echo ### $f foreach? time ./$f foreach? end ### callbackTestHost myCallback requestedDiff 0.000000 diff 0.000641 myCallback requestedDiff 0.000000 diff 0.000564 myCallback requestedDiff 0.000000 diff 0.000594 myCallback requestedDiff 0.000000 diff 0.001006 myCallback requestedDiff 1.000000 diff 0.995265 myCallback requestedDiff 2.000000 diff 1.995180 callbackTest returning main terminating 0.000u 0.020s 0:06.04 0.3% 0+0k 0+0io 0pf+0w ### epicsEventTestHost epicsEventWaitWithTimeout ( 1.000000 ) tmo delay err 0.000234 sec epicsEventWaitWithTimeout ( 0.500000 ) tmo delay err 0.000056 sec epicsEventWaitWithTimeout ( 0.250000 ) tmo delay err 0.000414 sec epicsEventWaitWithTimeout ( 0.125000 ) tmo delay err 0.000057 sec epicsEventWaitWithTimeout ( 0.062500 ) tmo delay err 0.000055 sec epicsEventWaitWithTimeout ( 0.031250 ) tmo delay err 0.000055 sec epicsEventWaitWithTimeout ( 0.015625 ) tmo delay err 0.000156 sec epicsEventWaitWithTimeout ( 0.007812 ) tmo delay err 0.000058 sec epicsEventWaitWithTimeout ( 0.003906 ) tmo delay err 0.001184 sec epicsEventWaitWithTimeout ( 0.001953 ) tmo delay err 0.000444 sec epicsEventWaitWithTimeout ( 0.000977 ) tmo delay err 0.008470 sec epicsEventWaitWithTimeout ( 0.000488 ) tmo delay err 0.001860 sec epicsEventWaitWithTimeout ( 0.000244 ) tmo delay err 0.000107 sec epicsEventWaitWithTimeout ( 0.000122 ) tmo delay err 0.001926 sec epicsEventWaitWithTimeout ( 0.000061 ) tmo delay err 0.002089 sec epicsEventWaitWithTimeout ( 0.000031 ) tmo delay err 0.003088 sec epicsEventWaitWithTimeout ( 0.000015 ) tmo delay err 0.000328 sec epicsEventWaitWithTimeout ( 0.000008 ) tmo delay err 0.005369 sec epicsEventWaitWithTimeout ( 0.000004 ) tmo delay err 0.000092 sec epicsEventWaitWithTimeout ( 0.000002 ) tmo delay err 0.004699 sec epicsEventWaitWithTimeout ( 0.000000 ) tmo delay err 0.000006 sec Average error 0.001464 sec calling epicsEventWaitWithTimeout(event,2.0) time 1078110964 calling epicsEventTryWait(event) time 1078110966 calling epicsEventSignal() time 1078110966 calling epicsEventWaitWithTimeout(event,2.0) time 1078110966 calling epicsEventSignal() time 1078110966 calling epicsEventTryWait(event) time 1078110966 created producer 0 id 0x3005c0 time 1078110966 created producer 1 id 0x300690 time 1078110966 consumer 0x3004d0 starting time 1078110966 producer 0x3005c0 starting time 1078110966 producer 0x3005c0 sending producer 0x300690 starting time 1078110966 producer 0x300690 sending producer 0x3005c0 sending consumer message from 0x3005c0 consumer message from 0x300690 consumer message from 0x3005c0 producer 0x300690 sending consumer message from 0x300690 producer 0x3005c0 sending consumer message from 0x3005c0 producer 0x300690 sending consumer message from 0x300690 producer 0x3005c0 sending producer 0x300690 sending producer 0x3005c0 sending consumer message from 0x3005c0 consumer message from 0x300690 consumer message from 0x3005c0 producer 0x300690 sending consumer message from 0x300690 semTest setting quit time 1078110971 producer 0x3005c0 returning time 1078110971 consumer 0x3004d0 returning time 1078110971 producer 0x300690 returning time 1078110971 semTest returning time 1078110974 main terminating 0.010u 0.000s 0:12.05 0.0% 0+0k 0+0io 0pf+0w ### epicsExceptionTestHost *** malloc: vm_allocate(size=2147483648) failed (error code=3) *** malloc[5177]: error: Can't allocate region *** malloc: vm_allocate(size=2147483648) failed (error code=3) *** malloc[5177]: error: Can't allocate region A call to "assert (0)" failed in ../epicsExceptionTest.cpp line 48. EPICS Release EPICS R3.14.5 $R3-14-5$ $2004/02/04 20:45:33$. Current time Mon Mar 01 2004 12:16:14.687498000. Please E-mail this message to the author or to tech-talk@aps.anl.gov Calling epicsThreadSuspendSelf() Terminated 0.010u 0.010s 1:24.81 0.0% 0+0k 0+0io 0pf+0w ### epicsMathTestHost a 0.000000e+00 b 0.000000e+00 c nan isnan true isinf false a 1.000000e+300 b 1.000000e-300 c inf isnan false isinf true a -1.000000e+300 b 1.000000e-300 c -inf isnan false isinf true a 0.000000e+00 b 1.000000e+00 c 0.000000e+00 isnan false isinf false a 1.000000e+300 b 1.000000e+300 c 1.000000e+00 isnan false isinf false 0.000u 0.000s 0:00.01 0.0% 0+0k 0+2io 0pf+0w ### epicsMessageQueueTestHost Simple single-thread tests. Should have 1 used -- Message Queue Used:1 Slots:4 Should have 2 used -- Message Queue Used:2 Slots:4 Should have 3 used -- Message Queue Used:3 Slots:4 Should have 4 used -- Message Queue Used:4 Slots:4 Test sender timeout. Should have 1 used -- Message Queue Used:1 Slots:4 Should have 2 used -- Message Queue Used:2 Slots:4 Should have 3 used -- Message Queue Used:3 Slots:4 Should have 4 used -- Message Queue Used:4 Slots:4 Test receiver with timeout. Single receiver with invalid size, single sender tests. Single receiver, single sender tests. Should send/receive only 4 messages (sender priority > receiver priority). Sent 4 messages. Receiver one received 0 '' Receiver one received 1 '1' Receiver one received 2 '12' Receiver one received 3 '123' Should send/receive 5 to 10 messages (depends on how host handles thread priorities). Sent 5 messages. Receiver one received 0 '' Receiver one received 1 '1' Receiver one received 2 '12' Receiver one received 3 '123' Receiver one received 4 '1234' Should send/receive 10 messages (sender pauses after sending). Receiver one received 0 '' Receiver one received 1 '1' Receiver one received 2 '12' Receiver one received 3 '123' Receiver one received 4 '1234' Receiver one received 5 '12345' Receiver one received 6 '123456' Receiver one received 7 '1234567' Receiver one received 8 '12345678' Receiver one received 9 '123456789' Sent 10 messages. Single receiver, multiple sender tests. The following test takes 5 minutes to run and has succeeded if nothing appears between here.... ......and here. Receiver one received 0 '' Sender 1 -- 6091 messages Sender 2 -- 6033 messages Sender 3 -- 6096 messages Sender 4 -- 6076 messages 2.070u 1.910s 5:30.03 1.2% 0+0k 0+1io 0pf+0w ### epicsMutexTestHost One lock pair completes in 0.990280 micro sec One double recursive lock pair completes in 2.225030 micro sec One quad recursive lock pair completes in 3.956190 micro sec calling epicsMutexLock(mutex) time 1078111390 calling epicsMutexTryLock(mutex) time 1078111390 epicsMutexId 0x3002b0 source ../epicsMutexTest.cpp line 264 ownerTid 0xa000a1ec count 2 owned 1 calling epicsMutexUnlock() time 1078111390 calling epicsMutexUnlock() time 1078111390 epicsMutexId 0x3002b0 source ../epicsMutexTest.cpp line 264 ownerTid 0x0 count 0 owned 0 mutexThread 0 starting time 1078111390 mutexThread 0 epicsMutexLock time 1078111390 semTest created mutexThread 0 id 0x3004d0 time 1078111390 mutexThread 1 starting time 1078111390 semTest created mutexThread 1 id 0x300560 time 1078111390 mutexThread 1 epicsMutexLock time 1078111390 mutexThread 0 epicsMutexLock time 1078111391 mutexThread 1 epicsMutexLock time 1078111391 mutexThread 0 epicsMutexLock time 1078111392 mutexThread 1 epicsMutexLock time 1078111392 mutexThread 0 epicsMutexLock time 1078111393 mutexThread 1 epicsMutexLock time 1078111393 mutexThread 0 epicsMutexLock time 1078111394 mutexThread 1 epicsMutexLock time 1078111394 mutexThread 0 epicsMutexLock time 1078111395 semTest setting quit time 1078111395 mutexThread 1 returning time 1078111395 mutexThread 0 returning time 1078111396 main terminating 0.570u 0.050s 0:07.79 7.9% 0+0k 0+2io 0pf+0w ### epicsStdioTestHost at start buffer |*******************| size 10 rtn 12 value 10 buffer |value is | size 10 rtn 10 value 10 buffer |value: 1| size 10 rtn 2 value 10 buffer |10| at start buffer |*******************| size 10 rtn 12 value 10 buffer |value is | size 10 rtn 10 value 10 buffer |value: 1| size 10 rtn 2 value 10 buffer |10| 0.000u 0.010s 0:00.02 50.0% 0+0k 0+0io 0pf+0w ### epicsStringTestHost 0.000u 0.010s 0:00.02 50.0% 0+0k 0+0io 0pf+0w ### epicsThreadPrivateTestHost It takes 0.181980 micro sec to call epicsThreadPrivateGet() 0.020u 0.010s 0:00.13 23.0% 0+0k 0+0io 0pf+0w ### epicsThreadTestHost It takes 0.215510 micro sec to call epicsThreadGetIdSelf () Estimating sleep quantum..........done The epicsThreadSleepQuantum() call returns 0.010000 sec. This doesnt match the quantum estimate of 0.001142 sec within 10%. threadTest starting threadTest created 0 myThread 0x300710 startPriority 50 minPriority 0 maxPriority 99 threadTest created 1 myThread 0x3008f0 threadFunc 0 starting argvalue 0x3008d0 threadFunc 1 starting argvalue 0x300ab0 NAME EPICS ID PTHREAD ID OSIPRI OSSPRI STATE _main_ 0x3001b0 0 0 0 OK errlog 0x300620 25189888 10 31 OK task0 0x300810 25190912 50 31 OK task1 0x3009f0 25191936 51 31 OK threadFunc 0 stopping argvalue 0x3008d0 threadFunc 1 stopping argvalue 0x300ab0 epicsThreadTest returning main terminating 4.820u 0.110s 0:23.51 20.9% 0+0k 0+0io 0pf+0w ### epicsTimeTestHost epicsTime Test (100 loops) ======================== Time per call to epicsTime::getCurrent() (100000 calls) = 0.849 usec The following should be your local time displayed using four different internal representations: epicsTimeStamp = Mon Mar 1 12:23:41 2004 60401000 nSec local time zone struct tm = Mon Mar 1 12:23:41 2004 0.060401 struct timespec = Mon Mar 1 12:23:41 2004 0.060401 UTC struct tm = Mon Mar 1 03:23:41 2004 0.060401 epicsTime: Mon Mar 01 2004 12:23:41.060401000 epicsTime: revision "@(#) EPICS 3.14.5, Common Utilities Library Feb 29 2004" ... now at loop 10 ... now at loop 20 ... now at loop 30 ... now at loop 40 ... now at loop 50 ... now at loop 60 ... now at loop 70 ... now at loop 80 ... now at loop 90 epicsTime test complete. Summary: 0 errors found in 0 out of 100 loops. 7.040u 0.070s 0:07.98 89.0% 0+0k 0+2io 0pf+0w ### epicsTimerTestHost average timer delay error -4.889800 mS test complete 4.390u 0.020s 0:20.54 21.4% 0+0k 0+0io 0pf+0w ### macEnvExpandTestHost 0.010u 0.010s 0:00.02 100.0% 0+0k 0+0io 0pf+0w ### ringPointerTestHost fill ring consumer starting empty ring main terminating 0.000u 0.010s 0:04.03 0.2% 0+0k 0+0io 0pf+0w ### epicsAlgorithmTest epicsMin, epicsMax and epicsSwap tested OK. 0.010u 0.010s 0:00.02 100.0% 0+0k 0+0io 0pf+0w ### epicsListTest 174 tests completed, 0 failed. 0.000u 0.010s 0:00.02 50.0% 0+0k 0+0io 0pf+0w KEK-Linac-Controls[1002]% exit exit Script done on Mon Mar 1 12:28:08 2004