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/
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->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 …]
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->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 …]
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->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 …]
/third_party/ltp/testcases/realtime/stress/pi-tests/
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 = (Thread *) arg; in func_rt() local
[all …]
/third_party/ltp/testcases/realtime/func/thread_clock/
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()