Home
last modified time | relevance | path

Searched refs:pthr (Results 1 - 5 of 5) sorted by relevance

/third_party/ltp/testcases/realtime/func/pi-tests/
H A Dtestpi-2.c85 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 in func_rt()
143 struct thread *pthr = (struct thread *)arg; func_noise() local
[all...]
H A Dtestpi-4.c84 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 in func_rt()
143 struct thread *pthr = (struct thread *)arg; func_noise() local
[all...]
H A Dtestpi-1.c83 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 in func_rt()
141 struct thread *pthr = (struct thread *)arg; func_noise() local
[all...]
/third_party/ltp/testcases/realtime/stress/pi-tests/
H A Dtestpi-3.c100 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 in func_rt() local
205 Thread *pthr = (Thread *) arg; func_noise() local
[all...]
/third_party/ltp/testcases/realtime/func/thread_clock/
H A Dtc-2.c91 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()

Completed in 3 milliseconds