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 | 72 int num_threads; member 272 proc->num_threads = 0; in read_procs() 309 proc->num_threads++; in read_procs() 493 proc->delta_time * 100 / total_delta_time, proc->state, proc->num_threads, in print_procs() 571 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 | 366 void RunGetAddrInfoStressTest_Binder(unsigned num_hosts, unsigned num_threads, in RunGetAddrInfoStressTest_Binder() argument 378 std::vector<std::thread> threads(num_threads); in RunGetAddrInfoStressTest_Binder() 406 ALOGI("%u hosts, %u threads, %u queries, %Es", num_hosts, num_threads, num_queries, in RunGetAddrInfoStressTest_Binder() 736 const unsigned num_threads = 100; in TEST_F() local 738 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F() 743 const unsigned num_threads = 100; in TEST_F() local 745 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F()
|