Home
last modified time | relevance | path

Searched refs:num_threads (Results 1 – 2 of 2) sorted by relevance

/system/extras/tests/memtest/
Dbandwidth.cpp257 bool runThreadedTest(thread_arg_t args[], int num_threads, int run_time) { in runThreadedTest() argument
258 pthread_t threads[num_threads]; in runThreadedTest()
262 for (int i = 0; i < num_threads; i++) { in runThreadedTest()
282 for (int i = 0; i < num_threads; i++) { in runThreadedTest()
342 int num_threads = values["num_threads"].int_value; in multithread_bandwidth() local
344 thread_arg_t args[num_threads]; in multithread_bandwidth()
347 for (int i = 0; i < num_threads; i++) { in multithread_bandwidth()
355 printf("Running %d threads\n", num_threads); in multithread_bandwidth()
362 if (!runThreadedTest(args, num_threads, values["run_time"].int_value)) { in multithread_bandwidth()
/system/core/toolbox/
Dtop.c71 int num_threads; member
270 proc->num_threads = 0; in read_procs()
307 proc->num_threads++; in read_procs()
479 … proc->pid, proc->prs, proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads, in print_procs()
554 return -numcmp(pa->num_threads, pb->num_threads); in proc_thr_cmp()