/external/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-1.c | 83 struct thread *pthr = (struct thread *)arg; in func_nonrt() local 87 pthr->priority); in func_nonrt() 90 tid, pthr->policy, pthr->priority); in func_nonrt() 102 tid, i, pthr->policy, pthr->priority); in func_nonrt() 113 struct thread *pthr = (struct thread *)arg; in func_rt() local 116 printf("Thread %d started running with prio %d\n", tid, pthr->priority); in func_rt() 120 tid, pthr->policy, pthr->priority); in func_rt() 130 tid, i, pthr->policy, pthr->priority); in func_rt() 141 struct thread *pthr = (struct thread *)arg; in func_noise() local 145 pthr->priority); in func_noise() [all …]
|
D | testpi-2.c | 85 struct thread *pthr = (struct thread *)arg; in func_lowrt() local 89 pthr->priority); in func_lowrt() 92 tid, pthr->policy, pthr->priority); in func_lowrt() 104 tid, i, pthr->policy, pthr->priority); in func_lowrt() 115 struct thread *pthr = (struct thread *)arg; in func_rt() local 118 printf("Thread %d started running with prio %d\n", tid, pthr->priority); in func_rt() 122 tid, pthr->policy, pthr->priority); in func_rt() 132 tid, i, pthr->policy, pthr->priority); in func_rt() 143 struct thread *pthr = (struct thread *)arg; in func_noise() local 147 pthr->priority); in func_noise() [all …]
|
D | testpi-4.c | 84 struct thread *pthr = (struct thread *)arg; in func_nonrt() local 88 pthr->priority); in func_nonrt() 91 tid, pthr->policy, pthr->priority); in func_nonrt() 104 tid, i, pthr->policy, pthr->priority); in func_nonrt() 115 struct thread *pthr = (struct thread *)arg; in func_rt() local 118 printf("Thread %d started running with prio %d\n", tid, pthr->priority); in func_rt() 122 tid, pthr->policy, pthr->priority); in func_rt() 132 tid, i, pthr->policy, pthr->priority); in func_rt() 143 struct thread *pthr = (struct thread *)arg; in func_noise() local 146 printf("Noise Thread started running with prio %d\n", pthr->priority); in func_noise() [all …]
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
D | testpi-3.c | 100 Thread *pthr = (Thread *) arg; in func_nonrt() local 115 printf("Thread started %d on CPU %ld\n", pthr->priority, in func_nonrt() 117 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_nonrt() 118 printf("Thread running %d\n", pthr->priority); in func_nonrt() 124 pthr->priority, policy, schedp.sched_priority); in func_nonrt() 131 "pri %d\n", tid, pthr->priority, i, in func_nonrt() 135 pthr->id++; in func_nonrt() 137 pthread_mutex_lock(&(pthr->mutex)); in func_nonrt() 138 pthread_mutex_unlock(&(pthr->mutex)); in func_nonrt() 149 Thread *pthr = (Thread *) arg; in func_rt() local [all …]
|
/external/ltp/testcases/realtime/func/thread_clock/ |
D | tc-2.c | 91 struct thread *pthr = (struct thread *)arg; in workerthread() local 92 int tid = (int)(long)pthr->arg; in workerthread() 113 struct thread *pthr = (struct thread *)arg; in sleeperthread() local 114 int tid = (int)(long)pthr->arg; in sleeperthread()
|
/external/compiler-rt/lib/tsan/go/ |
D | tsan_go.cc | 213 void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) { in __tsan_go_start() argument 215 *pthr = thr; in __tsan_go_start()
|