Searched refs:num_threads (Results 1 – 5 of 5) sorted by relevance
/system/extras/memory_replay/tests/ |
D | ThreadsTest.cpp | 30 ASSERT_EQ(1U, threads.num_threads()); in TEST() 41 ASSERT_EQ(0U, threads.num_threads()); in TEST() 50 ASSERT_EQ(1U, threads.num_threads()); in TEST() 54 ASSERT_EQ(2U, threads.num_threads()); in TEST() 58 ASSERT_EQ(3U, threads.num_threads()); in TEST() 75 ASSERT_EQ(2U, threads.num_threads()); in TEST() 79 ASSERT_EQ(1U, threads.num_threads()); in TEST() 83 ASSERT_EQ(0U, threads.num_threads()); in TEST() 92 ASSERT_EQ(1U, threads.num_threads()); in TEST() 109 ASSERT_EQ(0U, threads.num_threads()); in TEST()
|
/system/extras/tests/memtest/ |
D | bandwidth.cpp | 257 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() 346 for (int i = 0; i < num_threads; i++) { in multithread_bandwidth() 354 printf("Running %d threads\n", num_threads); in multithread_bandwidth() 361 if (!runThreadedTest(args, num_threads, values["run_time"].int_value)) { in multithread_bandwidth()
|
/system/core/toolbox/ |
D | top.c | 74 int num_threads; member 279 proc->num_threads = 0; in read_procs() 316 proc->num_threads++; in read_procs() 500 proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads, in print_procs() 578 return -numcmp(pa->num_threads, pb->num_threads); in proc_thr_cmp()
|
/system/extras/memory_replay/ |
D | Threads.h | 37 size_t num_threads() { return num_threads_; } in num_threads() function
|
/system/netd/tests/ |
D | netd_test.cpp | 224 void RunGetAddrInfoStressTest_Binder(unsigned num_hosts, unsigned num_threads, in RunGetAddrInfoStressTest_Binder() argument 236 std::vector<std::thread> threads(num_threads); in RunGetAddrInfoStressTest_Binder() 263 ALOGI("%u hosts, %u threads, %u queries, %Es", num_hosts, num_threads, num_queries, in RunGetAddrInfoStressTest_Binder() 599 const unsigned num_threads = 100; in TEST_F() local 601 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F() 606 const unsigned num_threads = 100; in TEST_F() local 608 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F()
|