From ed4fe71b962aef21b8b49babebb9013a48dfabab Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 29 Mar 2007 14:27:23 +0000 Subject: [PATCH] Updated test results git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@176 42af7a65-404d-4744-a932-0658087f49c3 --- configs/ntosd-dm320/doc/test-result.txt | 121 +++++++++++++++++++----- 1 file changed, 97 insertions(+), 24 deletions(-) diff --git a/configs/ntosd-dm320/doc/test-result.txt b/configs/ntosd-dm320/doc/test-result.txt index d44da6c757..2c36abc7d4 100644 --- a/configs/ntosd-dm320/doc/test-result.txt +++ b/configs/ntosd-dm320/doc/test-result.txt @@ -1,7 +1,17 @@ -This is the output from running examples/ostest on March 23, 2007 +This is the output from running examples/ostest on March 28, 2007 ================================================================= -go 1008000 +Neuros Devboard > tftpboot 10.0.0.1 nuttx.dm320 +Found DM9000 ID:90000a46 at address 60000300 ! +DM9000 work in 16 bus width +[eth_init]MAC:0:18:11:80:10:6: +TFTP from server 10.0.0.1; our IP address is 10.0.0.2 +Filename 'nuttx.dm320'. +Load address: 0x10 +Loading: ############################ +done +Bytes transferred = 141981 (22a9d hex) +Neuros Devboard > go 1008000 ## Starting application at 0x01008000 ... stdio_test: write fd=1 stdio_test: write fd=2 @@ -43,9 +53,9 @@ user_main: mutex test Initializing mutex Starting thread 1 Starting thread 2 - Thread1 Thread2 - Loops 32 32 - Errors 0 0 + Thread1 Thread2 + Loops 32 32 + Errors 0 0 End of test memory usage: VARIABLE BEFORE AFTER @@ -117,8 +127,8 @@ sem_test: Starting waiter thread 1 sem_test: Set thread 1 priority to 191 waiter_func: Thread 1 Started waiter_func: Thread 1 initial semaphore value = 0 -waiter_func: sThread 1 aiting on semaphore -em_test: Starting waiter thread 2 +waiter_func: Thread 1 aiting on semaphore +sem_test: Starting waiter thread 2 sem_test: Set thread 2 priority to 128 waiter_func: Thread 2 Started waiter_func: Thread 2 initial semaphore value = -1 @@ -160,10 +170,10 @@ cond_test: Set thread 2 priority to 64 thread_signaler: Started thread_signaler: Terminating cond_test: signaler terminated, now cancel the waiter -cond_test: Waiter Signaler -cond_test: Loops 32 32 -cond_test: Errors 0 0 -cond_test: +cond_test: Waiter Signaler +cond_test: Loops 32 32 +cond_test: Errors 0 0 +cond_test: 0 times, waiter did not have to wait for data cond_test: 0 times, data was already available when the signaler run cond_test: 0 times, the waiter was in an unexpected state when the signaler ran @@ -215,8 +225,8 @@ receiver_thread: mq_receive succeeded on msg 2 sender_thread: mq_send succeeded on msg 2 receiver_thread: mq_receive succeeded on msg 3 sender_thread: mq_send succeeded on msg 3 -receivers_thread: mq_receive succeeded on msg 4 -ender_thread: mq_send succeeded on msg 4 +receiver_thread: mq_receive succeeded on msg 4 +sender_thread: mq_send succeeded on msg 4 receiver_thread: mq_receive succeeded on msg 5 sender_thread: mq_send succeeded on msg 5 receiver_thread: mq_receive succeeded on msg 6 @@ -226,10 +236,13 @@ sender_thread: mq_send succeeded on msg 7 receiver_thread: mq_receive succeeded on msg 8 sender_thread: mq_send succeeded on msg 8 receiver_thread: mq_receive succeeded on msg 9 -receiver_thread: returning nerrors=0 sender_thread: mq_send succeeded on msg 9 sender_thread: returning nerrors=0 +mqueue_test: Killing receiver +receiver_thread: mq_receive interrupted! +receiver_thread: returning nerrors=0 mqueue_test: Canceling receiver +mqueue_test: receiver has already terminated End of test memory usage: VARIABLE BEFORE AFTER @@ -264,8 +277,8 @@ VARIABLE BEFORE AFTER arena fe1f10 fe1f10 ordblks 2 2 mxordblk fda9b0 fda9b0 -uordblks 53f0 53f0 -fordblks fdcb20 fdcb20 +uordblks 53f0 5500 +fordblks fdcb20 fdca10 user_main: POSIX timer test timer_test: Initializing semaphore to 0 @@ -318,14 +331,14 @@ VARIABLE BEFORE AFTER arena fe1f10 fe1f10 ordblks 2 2 mxordblk fda9b0 fda9b0 -uordblks 53f0 53f0 -fordblks fdcb20 fdcb20 +uordblks 5500 5500 +fordblks fdca10 fdca10 user_main: round-robin scheduler test -rr_test: Starting sieve1 thread +rr_test: Starting sieve1 thread rr_test: Set thread priority to 1 rr_test: Set thread policty to SCHED_RR -rr_test: Starting sieve1 thread +rr_test: Starting sieve1 thread sieve1 started sieve1 finished rr_test: Waiting for sieves to complete -- this should take awhile @@ -341,8 +354,68 @@ VARIABLE BEFORE AFTER arena fe1f10 fe1f10 ordblks 2 2 mxordblk fda9b0 fda9b0 -uordblks 53f0 53f0 -fordblks fdcb20 fdcb20 +uordblks 5500 5500 +fordblks fdca10 fdca10 + +user_main: barrier test +barrier_test: Initializing barrier +barrier_func: Thread 0 started +barrier_test: Thread 0 created +barrier_func: Thread 1 started +barrier_test: Thread 1 created +barrier_func: Thread 0 calling pthread_barrier_wait() +barrier_func: Thread 1 calling pthread_barrier_wait() +barrier_func: Thread 2 started +barrier_test: Thread 2 created +barrier_func: Thread 3 started +barrier_test: Thread 3 created +barrier_func: Thread 4 started +barrier_test: Thread 4 created +barrier_func: Thread 5 started +barrier_func: Thread 2 calling pthread_barrier_wait() +barrier_func: Thread 3 calling pthread_barrier_wait() +barrier_func: Thread 4 calling pthread_barrier_wait() +barrier_test: Thread 5 created +barrier_func: Thread 6 started +barrier_test: Thread 6 created +barrier_func: Thread 7 started +barrier_test: Thread 7 created +barrier_func: Thread 5 calling pthread_barrier_wait() +barrier_func: Thread 6 calling pthread_barrier_wait() +barrier_func: Thread 7 calling pthread_barrier_wait() +barrier_func: Thread 7, back with status=PTHREAD_BARRIER_SERIAL_THREAD (I AM SPECIAL) +barrier_func: Thread 0, back with status=0 (I am not special) +barrier_func: Thread 1, back with status=0 (I am not special) +barrier_func: Thread 2, back with status=0 (I am not special) +barrier_func: Thread 3, back with status=0 (I am not special) +barrier_func: Thread 4, back with status=0 (I am not special) +barrier_func: Thread 5, back with status=0 (I am not special) +barrier_func: Thread 6, back with status=0 (I am not special) +barrier_func: Thread 7 done +barrier_func: Thread 0 done +barrier_test: Thread 0 completed with result=0 +barrier_func: Thread 1 done +barrier_func: Thread 2 done +barrier_func: Thread 3 done +barrier_func: Thread 4 done +barrier_func: Thread 5 done +barrier_func: Thread 6 done +barrier_test: Thread 1 completed with result=0 +barrier_test: Thread 2 completed with result=0 +barrier_test: Thread 3 completed with result=0 +barrier_test: Thread 4 completed with result=0 +barrier_test: Thread 5 completed with result=0 +barrier_test: Thread 6 completed with result=0 +barrier_test: Thread 7 completed with result=0 + +End of test memory usage: +VARIABLE BEFORE AFTER +======== ======== ======== +arena fe1f10 fe1f10 +ordblks 2 2 +mxordblk fda9b0 fda9b0 +uordblks 5500 5500 +fordblks fdca10 fdca10 Final memory usage: VARIABLE BEFORE AFTER @@ -350,6 +423,6 @@ VARIABLE BEFORE AFTER arena fe1f10 fe1f10 ordblks 2 2 mxordblk fda9b0 fda9b0 -uordblks 53f0 53f0 -fordblks fdcb20 fdcb20 +uordblks 53f0 5500 +fordblks fdcb20 fdca10 user_main: Exitting