OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:rt_threads
(Results
1 - 2
of
2
) sorted by null
/external/ltp/testcases/realtime/func/prio-wake/
prio-wake.c
60
static int
rt_threads
= 0;
variable
86
rt_threads
= atoi(v);
110
while (running_threads <
rt_threads
)
178
if (
rt_threads
== 0) {
180
rt_threads
= numcpus;
182
wakeup.arr = malloc(
rt_threads
* sizeof(int));
187
printf("Worker Threads: %d\n",
rt_threads
);
200
threads_per_prio =
rt_threads
/ numprios;
201
if (
rt_threads
% numprios)
206
for (i =
rt_threads
; i > 0; i--)
[
all
...]
/external/ltp/testcases/realtime/func/prio-preempt/
prio-preempt.c
78
static int
rt_threads
= -1;
variable
110
rt_threads
= atoi(v);
240
for (i = 0; i <
rt_threads
; i++) {
249
for (i =
rt_threads
; i > 1; i--) {
256
while (busy_threads < (
rt_threads
- 1))
303
if (
rt_threads
== -1 ||
rt_threads
> numcpus) {
304
rt_threads
= numcpus;
306
"should not exceed number of cpus(%d)\n",
rt_threads
,
315
printf("Busy Threads: %d\n",
rt_threads
);
[
all
...]
Completed in 596 milliseconds