Searched refs:num_hosts (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_stress_test.cpp | 37 void RunGetAddrInfoStressTest(unsigned num_hosts, unsigned num_threads, unsigned num_queries) { in RunGetAddrInfoStressTest() argument 42 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest() 75 LOG(INFO) << fmt::format("{} hosts, {} threads, {} queries, {:E}s", num_hosts, num_threads, in RunGetAddrInfoStressTest() 87 const unsigned num_hosts = 100; in TEST_F() local 90 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest(num_hosts, num_threads, num_queries)); in TEST_F() 94 const unsigned num_hosts = 100000; in TEST_F() local 97 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest(num_hosts, num_threads, num_queries)); in TEST_F()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.h | 123 static void SetupMappings(unsigned num_hosts, const std::vector<std::string>& domains,
|