Home
last modified time | relevance | path

Searched refs:timeTakenUs (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DStopwatch.h34 int64_t timeTakenUs() const { return getElapsedUs(clock::now()); } in timeTakenUs() function
/packages/modules/DnsResolver/
DDnsTlsTransport.cpp324 udpProbeTimeUs = stopwatch.timeTakenUs(); in validate()
342 dotProbeTimeUs = stopwatch.timeTakenUs(); in validate()
Dres_send.cpp454 const int32_t cacheLatencyUs = saturate_cast<int32_t>(cacheStopwatch.timeTakenUs()); in res_nsend()
481 mDnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in res_nsend()
628 (actualNs == ns) ? saturate_cast<int32_t>(queryStopwatch.timeTakenUs()) : -1); in res_nsend()
1391 dnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in res_doh_send()
DDnsProxyListener.cpp941 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
1151 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
1357 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
1526 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run()
DDnsTlsDispatcher.cpp133 dnsQueryEvent->set_latency_micros(saturate_cast<int32_t>(queryStopwatch.timeTakenUs())); in query()
/packages/modules/DnsResolver/tests/
Dresolv_private_dns_test.cpp934 EXPECT_GT(s.timeTakenUs() / 1000, connectionStalledTimeMs); in TEST_F()
1335 EXPECT_LT(s.timeTakenUs() / 1000, 500); in TEST_F()
Ddnsresolver_binder_test.cpp206 std::cerr << " " << mName << ": " << timeTakenUs() << "us" << std::endl; in ~TimedOperation()
Dresolv_integration_test.cpp138 return {std::move(result), s.timeTakenUs() / 1000}; in safe_getaddrinfo_time_taken()
4814 const int timeTakenMs = s.timeTakenUs() / 1000; in TEST_F()
6351 accumulatedTime += s.timeTakenUs(); in TEST_F()