Changeset 50162e0 in rtems
- Timestamp:
- 12/07/13 18:18:02 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 2e50dcec
- Parents:
- 9410d011
- git-author:
- Joel Sherrill <joel.sherrill@…> (12/07/13 18:18:02)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (12/08/13 01:10:35)
- Location:
- testsuites/psxtmtests
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/psxtmtests/psxtmbarrier01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 41 41 42 42 put_time( 43 "pthread_barrier_init ",43 "pthread_barrier_init: only case", 44 44 end_time, 45 45 1, /* Only executed once */ … … 60 60 61 61 put_time( 62 "pthread_barrier_destroy ",62 "pthread_barrier_destroy: only case", 63 63 end_time, 64 64 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmbarrier02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 44 44 45 45 put_time( 46 "pthread_barrier_wait âblocking",46 "pthread_barrier_wait: blocking", 47 47 end_time, 48 48 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmbarrier03/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 78 78 79 79 put_time( 80 "pthread_barrier_wait â releasing,no preempt",80 "pthread_barrier_wait: releasing no preempt", 81 81 end_time, 82 82 1, -
testsuites/psxtmtests/psxtmbarrier04/init.c
r9410d011 r50162e0 38 38 end_time = benchmark_timer_read(); 39 39 put_time( 40 "pthread_barrier_wait â releasing,preempt",40 "pthread_barrier_wait: releasing preempt", 41 41 end_time, 42 42 1, -
testsuites/psxtmtests/psxtmcond01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 38 38 39 39 put_time( 40 "pthread_cond_init (single invocation)",40 "pthread_cond_init: only case", 41 41 end_time, 42 42 1, … … 57 57 58 58 put_time( 59 "pthread_cond_destroy (single invocation)",59 "pthread_cond_destroy: only case", 60 60 end_time, 61 61 1, -
testsuites/psxtmtests/psxtmcond02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 36 36 37 37 put_time( 38 "pthread_cond_signal -no threads waiting",38 "pthread_cond_signal: no threads waiting", 39 39 end_time, 40 40 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmcond03/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 86 86 87 87 put_time( 88 "pthread_cond_signal - thread waiting,no preempt",88 "pthread_cond_signal: thread waiting no preempt", 89 89 end_time, 90 90 1, -
testsuites/psxtmtests/psxtmcond04/init.c
r9410d011 r50162e0 49 49 end_time = benchmark_timer_read(); 50 50 put_time( 51 "pthread_cond_signal - thread waiting,preempt",51 "pthread_cond_signal: thread waiting preempt", 52 52 end_time, 53 53 1, -
testsuites/psxtmtests/psxtmcond05/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 34 34 35 35 put_time( 36 "pthread_cond_broadcast -no threads waiting",36 "pthread_cond_broadcast: no threads waiting", 37 37 end_time, 38 38 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmcond06/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 103 103 104 104 put_time( 105 "pthread_cond_broadcast - threads waiting,no preempt",105 "pthread_cond_broadcast: threads waiting no preempt", 106 106 end_time, 107 107 1, -
testsuites/psxtmtests/psxtmcond08/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 10 10 #if defined(USE_WAIT) 11 11 #define TEST_NUMBER "08" 12 #define TEST_CASE "pthread_cond_wait -blocking"12 #define TEST_CASE "pthread_cond_wait: blocking" 13 13 #elif defined(USE_TIMEDWAIT_WITH_VALUE) 14 14 #define TEST_NUMBER "09" 15 #define TEST_CASE "pthread_cond_timedwait -blocking"15 #define TEST_CASE "pthread_cond_timedwait: blocking" 16 16 #elif defined(USE_TIMEDWAIT_WAIT_VALUE_IN_PAST) 17 17 #define TEST_NUMBER "10" 18 #define TEST_CASE "pthread_cond_timedwait -time in past error"18 #define TEST_CASE "pthread_cond_timedwait: time in past error" 19 19 #else 20 20 #error "How am I being compiled?" -
testsuites/psxtmtests/psxtmkey01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 34 34 35 35 put_time( 36 "pthread_key_create ",36 "pthread_key_create: only case", 37 37 end_time, 38 38 1, /* Only executed once */ … … 54 54 55 55 put_time( 56 "pthread_key_delete ",56 "pthread_key_delete: only case", 57 57 end_time, 58 58 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmkey02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 37 37 38 38 put_time( 39 "pthread_setspecific ",39 "pthread_setspecific: only case: only case", 40 40 end_time, 41 41 1, /* Only executed once */ … … 57 57 58 58 put_time( 59 "pthread_getspecific ",59 "pthread_getspecific: only case", 60 60 end_time, 61 61 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmmq01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 46 46 if (printable == 1) 47 47 put_time( 48 "mq_open (first open)",48 "mq_open: first open", 49 49 end_time, 50 50 1, /* Only executed once */ … … 69 69 if (printable == 1) 70 70 put_time( 71 "mq_open (second open)",71 "mq_open: second open", 72 72 end_time, 73 73 1, /* Only executed once */ … … 90 90 if (printable == 1) 91 91 put_time( 92 "mq_close (close of first)",92 "mq_close: close of first", 93 93 end_time, 94 94 1, /* Only executed once */ … … 110 110 if (printable == 1) 111 111 put_time( 112 "mq_close (close of second)",112 "mq_close: close of second", 113 113 end_time, 114 114 1, /* Only executed once */ … … 129 129 130 130 put_time( 131 "mq_unlink ",131 "mq_unlink: only case", 132 132 end_time, 133 133 1, /* Only executed once */ … … 152 152 153 153 put_time( 154 "mq_notify ",154 "mq_notify: only case", 155 155 end_time, 156 156 1, /* Only executed once */ … … 172 172 173 173 put_time( 174 "mq_send -no threads waiting",174 "mq_send: no threads waiting", 175 175 end_time, 176 176 1, /* Only executed once */ … … 194 194 195 195 put_time( 196 "mq_receive -available",196 "mq_receive: available", 197 197 end_time, 198 198 1, /* Only executed once */ … … 218 218 219 219 put_time( 220 "mq_timedsend -no threads waiting",220 "mq_timedsend: no threads waiting", 221 221 end_time, 222 222 1, /* Only executed once */ … … 244 244 245 245 put_time( 246 "mq_timedreceive -available",246 "mq_timedreceive: available", 247 247 end_time, 248 248 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmmutex01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 34 34 35 35 put_time( 36 "pthread_mutex_init ",36 "pthread_mutex_init: only case", 37 37 end_time, 38 38 1, … … 53 53 54 54 put_time( 55 "pthread_mutex_destroy ",55 "pthread_mutex_destroy: only case", 56 56 end_time, 57 57 1, -
testsuites/psxtmtests/psxtmmutex02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 44 44 45 45 put_time( 46 "pthread_mutex_lock - unavailable,block",46 "pthread_mutex_lock: unavailable block", 47 47 end_time, 48 48 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmmutex03/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 39 39 40 40 put_time( 41 "pthread_mutex_lock -available",41 "pthread_mutex_lock: available", 42 42 end_time, 43 43 1, … … 58 58 59 59 put_time( 60 "pthread_mutex_unlock -no threads waiting",60 "pthread_mutex_unlock: no threads waiting", 61 61 end_time, 62 62 1, … … 77 77 78 78 put_time( 79 "pthread_mutex_trylock -available",79 "pthread_mutex_trylock: available", 80 80 end_time, 81 81 1, … … 101 101 102 102 put_time( 103 "pthread_mutex_trylock -not available",103 "pthread_mutex_trylock: not available", 104 104 end_time, 105 105 1, … … 120 120 121 121 put_time( 122 "pthread_mutex_timedlock -available",122 "pthread_mutex_timedlock: available", 123 123 end_time, 124 124 1, -
testsuites/psxtmtests/psxtmmutex04/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 44 44 45 45 put_time( 46 "pthread_mutex_timedlock - not available,block",46 "pthread_mutex_timedlock: not available block", 47 47 end_time, 48 48 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmmutex05/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 76 76 77 77 put_time( 78 "pthread_mutex_unlock - unblocking,no preemption",78 "pthread_mutex_unlock: unblocking no preemption", 79 79 end_time, 80 80 1, -
testsuites/psxtmtests/psxtmmutex06/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 40 40 41 41 put_time( 42 "pthread_mutex_unlock - unblocking,preempt",42 "pthread_mutex_unlock: unblocking preempt", 43 43 end_time, 44 44 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmmutex07/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 37 37 38 38 put_time( 39 "pthread_mutex_setprioceiling ",39 "pthread_mutex_setprioceiling: only case", 40 40 end_time, 41 41 1, /* Only executed once */ … … 57 57 58 58 put_time( 59 "pthread_mutex_getprioceiling ",59 "pthread_mutex_getprioceiling: only case", 60 60 end_time, 61 61 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmnanosleep01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 35 35 end_time = benchmark_timer_read(); 36 36 37 put_time( "nanosleep -yield", end_time, 1, 0, 0 );37 put_time( "nanosleep: yield", end_time, 1, 0, 0 ); 38 38 39 39 puts( "*** END OF POSIX TIME TEST PSXTMNANOSLEEP01 ***" ); -
testsuites/psxtmtests/psxtmnanosleep02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 32 32 33 33 put_time( 34 "nanosleep -blocking",34 "nanosleep: blocking", 35 35 end_time, 36 36 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmrwlock01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 35 35 36 36 put_time( 37 "pthread_rwlock_init ",37 "pthread_rwlock_init: only case", 38 38 end_time, 39 39 1, /* Only executed once */ … … 55 55 56 56 put_time( 57 "pthread_rwlock_rdlock -available",57 "pthread_rwlock_rdlock: available", 58 58 end_time, 59 59 1, /* Only executed once */ … … 75 75 if ( print == 1 ){ 76 76 put_time( 77 "pthread_rwlock_unlock -available",77 "pthread_rwlock_unlock: available", 78 78 end_time, 79 79 1, /* Only executed once */ … … 95 95 if (status == EBUSY) { 96 96 put_time( 97 "pthread_rwlock_tryrdlock -not available",97 "pthread_rwlock_tryrdlock: not available", 98 98 end_time, 99 99 1, /* Only executed once */ … … 103 103 } else if (status == 0) { 104 104 put_time( 105 "pthread_rwlock_tryrdlock -available",105 "pthread_rwlock_tryrdlock: available", 106 106 end_time, 107 107 1, /* Only executed once */ … … 123 123 124 124 put_time( 125 "pthread_rwlock_timedrdlock -available",125 "pthread_rwlock_timedrdlock: available", 126 126 end_time, 127 127 1, /* Only executed once */ … … 143 143 144 144 put_time( 145 "pthread_rwlock_wrlock -available",145 "pthread_rwlock_wrlock: available", 146 146 end_time, 147 147 1, /* Only executed once */ … … 164 164 if ( status == EBUSY ) { 165 165 put_time( 166 "pthread_rwlock_trywrlock -not available ",166 "pthread_rwlock_trywrlock: not available ", 167 167 end_time, 168 168 1, /* Only executed once */ … … 172 172 } else if ( status == 0 ) { 173 173 put_time( 174 "pthread_rwlock_trywrlock -available",174 "pthread_rwlock_trywrlock: available", 175 175 end_time, 176 176 1, /* Only executed once */ … … 192 192 193 193 put_time( 194 "pthread_rwlock_timedwrlock -available",194 "pthread_rwlock_timedwrlock: available", 195 195 end_time, 196 196 1, /* Only executed once */ … … 211 211 212 212 put_time( 213 "pthread_rwlock_destroy ",213 "pthread_rwlock_destroy: only case", 214 214 end_time, 215 215 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmrwlock02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 44 44 45 45 put_time( 46 "pthread_rwlock_rdlock - not available,blocks",46 "pthread_rwlock_rdlock: not available blocks", 47 47 end_time, 48 48 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmrwlock03/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 45 45 46 46 put_time( 47 "pthread_rwlock_timedrdlock - not available,blocks",47 "pthread_rwlock_timedrdlock: not available blocks", 48 48 end_time, 49 49 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmrwlock04/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 44 44 45 45 put_time( 46 "pthread_rwlock_wrlock - not available,blocks",46 "pthread_rwlock_wrlock: not available blocks", 47 47 end_time, 48 48 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmrwlock05/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 45 45 46 46 put_time( 47 "pthread_rwlock_timedwrlock - not available,blocks",47 "pthread_rwlock_timedwrlock: not available blocks", 48 48 end_time, 49 49 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmrwlock06/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 81 81 82 82 put_time( 83 "pthread_rwlock_unlock - thread waiting,no preempt",83 "pthread_rwlock_unlock: thread waiting no preempt", 84 84 end_time, 85 85 1, -
testsuites/psxtmtests/psxtmrwlock07/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 41 41 42 42 put_time( 43 "pthread_rwlock_unlock - thread waiting,preempt",43 "pthread_rwlock_unlock: thread waiting preempt", 44 44 end_time, 45 45 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmsem01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 40 40 41 41 put_time( 42 "sem_init ",42 "sem_init: only case", 43 43 end_time, 44 44 1, /* Only executed once */ … … 59 59 60 60 put_time( 61 "sem_destroy ",61 "sem_destroy: only case", 62 62 end_time, 63 63 1, /* Only executed once */ … … 77 77 if ( report_time ) { 78 78 put_time( 79 "sem_open (first open 'O_CREAT')",79 "sem_open: first open O_CREAT", 80 80 end_time, 81 81 1, /* Only executed once */ … … 98 98 if ( report_time ) { 99 99 put_time( 100 "sem_close (named first/nested close)",100 "sem_close: named first/nested close", 101 101 end_time, 102 102 1, /* Only executed once */ … … 135 135 136 136 put_time( 137 "sem_open (second open 'O_EXCL')",137 "sem_open: second open O_EXCL", 138 138 end_time, 139 139 1, /* Only executed once */ … … 154 154 155 155 put_time( 156 "sem_close (named second close)",156 "sem_close: named second close", 157 157 end_time, 158 158 1, /* Only executed once */ … … 179 179 benchmark_sem_close(true); 180 180 /* unlink named semaphore -- does not delete */ 181 benchmark_sem_unlink("sem_unlink (does not delete)");181 benchmark_sem_unlink("sem_unlink: does not delete"); 182 182 /* close semaphore the second time, this actually deletes it */ 183 183 benchmark_sem_close_second(); … … 186 186 benchmark_sem_open(false); 187 187 benchmark_sem_close(false); 188 benchmark_sem_unlink("sem_unlink (deletes semaphore)");188 benchmark_sem_unlink("sem_unlink: deletes semaphore"); 189 189 190 190 puts( "*** END OF POSIX TIME TEST PSXTMSEM01 ***" ); -
testsuites/psxtmtests/psxtmsem02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 38 38 39 39 put_time( 40 "sem_getvalue ",40 "sem_getvalue: only case", 41 41 end_time, 42 42 1, /* Only executed once */ … … 57 57 58 58 put_time( 59 "sem_wait âavailable",59 "sem_wait: available", 60 60 end_time, 61 61 1, /* Only executed once */ … … 76 76 77 77 put_time( 78 "sem_post -no threads waiting",78 "sem_post: no threads waiting", 79 79 end_time, 80 80 1, /* Only executed once */ … … 95 95 96 96 put_time( 97 "sem_trywait -available",97 "sem_trywait: available", 98 98 end_time, 99 99 1, /* Only executed once */ … … 115 115 116 116 put_time( 117 "sem_trywait -not available",117 "sem_trywait: not available", 118 118 end_time, 119 119 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmsem03/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 48 48 49 49 put_time( 50 "sem_wait - not available,block",50 "sem_wait: not available block", 51 51 end_time, 52 52 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmsem04/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 79 79 80 80 put_time( 81 "sem_post - thread waiting,no preempt",81 "sem_post: thread waiting no preempt", 82 82 end_time, 83 83 1, -
testsuites/psxtmtests/psxtmsem05/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 45 45 46 46 put_time( 47 "sem_post - thread waiting,preempt",47 "sem_post: thread waiting preempt", 48 48 end_time, 49 49 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmsleep01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 34 34 35 35 put_time( 36 "sleep -yield",36 "sleep: yield", 37 37 end_time, 38 38 1, -
testsuites/psxtmtests/psxtmsleep02/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 32 32 33 33 put_time( 34 "sleep -blocking",34 "sleep: blocking", 35 35 end_time, 36 36 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmthread01/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 51 51 52 52 rtems_time_test_measure_operation( 53 "pthread_create ",53 "pthread_create: no preempt", 54 54 benchmark_pthread_create, 55 55 NULL, -
testsuites/psxtmtests/psxtmthread02/init.c
r9410d011 r50162e0 56 56 end_time = benchmark_timer_read(); 57 57 put_time( 58 "pthread_create -preempt",58 "pthread_create: preempt", 59 59 end_time, 60 60 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmthread03/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 42 42 43 43 put_time( 44 "pthread_exit ",44 "pthread_exit: only case", 45 45 end_time, 46 46 OPERATION_COUNT, -
testsuites/psxtmtests/psxtmthread04/init.c
r9410d011 r50162e0 36 36 37 37 put_time( 38 "pthread_getschedparam ",38 "pthread_getschedparam: only case", 39 39 end_time, 40 40 1, /* Only executed once */ … … 63 63 64 64 put_time( 65 "pthread_setschedparam -no thread switch",65 "pthread_setschedparam: no thread switch", 66 66 end_time, 67 67 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmthread05/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * COPYRIGHT (c) 2013. … … 58 58 end_time = benchmark_timer_read(); 59 59 put_time( 60 "pthread_setschedparam - lower own priority,preempt",60 "pthread_setschedparam: lower own priority preempt", 61 61 end_time, 62 62 1, /* Only executed once */ -
testsuites/psxtmtests/psxtmthread06/init.c
r9410d011 r50162e0 1 1 /* 2 * COPYRIGHT (c) 1989-201 2.2 * COPYRIGHT (c) 1989-2013. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * COPYRIGHT (c) 2013. … … 60 60 61 61 put_time( 62 "pthread_setschedparam - raise other priority,preempt",62 "pthread_setschedparam: raise other priority preempt", 63 63 end_time, 64 64 1, /* Only executed once */
Note: See TracChangeset
for help on using the changeset viewer.