Home
last modified time | relevance | path

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

/system/extras/memory_replay/tests/
DThreadsTest.cpp30 ASSERT_EQ(1U, threads.num_threads()); in TEST()
42 ASSERT_EQ(0U, threads.num_threads()); in TEST()
51 ASSERT_EQ(1U, threads.num_threads()); in TEST()
55 ASSERT_EQ(2U, threads.num_threads()); in TEST()
59 ASSERT_EQ(3U, threads.num_threads()); in TEST()
77 ASSERT_EQ(2U, threads.num_threads()); in TEST()
81 ASSERT_EQ(1U, threads.num_threads()); in TEST()
85 ASSERT_EQ(0U, threads.num_threads()); in TEST()
94 ASSERT_EQ(1U, threads.num_threads()); in TEST()
120 ASSERT_EQ(0U, threads.num_threads()); in TEST()
/system/extras/ioshark/
Dioshark_bench.c614 wait_for_threads(int num_threads) in wait_for_threads() argument
618 for (i = 0; i < num_threads; i++) { in wait_for_threads()
665 int num_threads = 0; in main() local
688 num_threads = atoi(optarg); in main()
709 if (num_threads > MAX_THREADS) in main()
774 if (num_threads == 0 || num_threads > num_files) in main()
775 num_threads = num_files; in main()
780 for (i = 0; i < num_threads; i++) { in main()
789 wait_for_threads(num_threads); in main()
804 for (c = 0; c < num_threads; c++) { in main()
[all …]
/system/core/init/
Dueventd_test.cpp41 auto num_threads = files_and_parameters.size(); in WriteFromMultipleThreads() local
43 pthread_barrier_init(&barrier, nullptr, num_threads); in WriteFromMultipleThreads()
131 constexpr auto num_threads = 10; in TEST() local
187 std::generate_n(back_inserter(threads), num_threads, in TEST()
/system/extras/memory_replay/
DThreads.h37 size_t num_threads() { return num_threads_; } in num_threads() function