Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp37 void RunGetAddrInfoStressTest(unsigned num_hosts, unsigned num_threads, unsigned num_queries) { in RunGetAddrInfoStressTest() argument
48 std::vector<std::thread> threads(num_threads); in RunGetAddrInfoStressTest()
75 LOG(INFO) << fmt::format("{} hosts, {} threads, {} queries, {:E}s", num_hosts, num_threads, in RunGetAddrInfoStressTest()
88 const unsigned num_threads = 100; in TEST_F() local
90 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest(num_hosts, num_threads, num_queries)); in TEST_F()
95 const unsigned num_threads = 100; in TEST_F() local
97 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest(num_hosts, num_threads, num_queries)); in TEST_F()
/packages/modules/Virtualization/authfs/src/fusefs/
Dmount.rs70 config.num_threads(u8::from(num).into()); in mount_and_enter_message_loop()