Searched refs:timeTakenMs (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4697 auto [result, timeTakenMs] = safe_getaddrinfo_time_taken(hostname1, nullptr, hints); in TEST_F() 4706 EXPECT_GE(timeTakenMs, config.expectedTimeout); in TEST_F() 4707 EXPECT_LE(timeTakenMs, config.expectedTimeout + 1000); in TEST_F() 4712 std::tie(result, timeTakenMs) = safe_getaddrinfo_time_taken(hostname2, nullptr, hints); in TEST_F() 4719 EXPECT_LE(timeTakenMs, 1000); in TEST_F() 4814 const int timeTakenMs = s.timeTakenUs() / 1000; in TEST_F() local 4817 EXPECT_GE(timeTakenMs, config.expectedTimeout); in TEST_F() 4818 EXPECT_LE(timeTakenMs, config.expectedTimeout + 1000); in TEST_F() 4903 const int timeTakenMs = s.getTimeAndResetUs() / 1000; in TEST_F() local 4904 EXPECT_NEAR(config.expectedTimeTakenMs, timeTakenMs, TIMING_TOLERANCE_MS); in TEST_F() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 314 const int timeTakenMs = event.latency_micros() / 1000; in maybeLogQuery() local 316 query_name, ip_addrs, timeTakenMs); in maybeLogQuery()
|