Home
last modified time | relevance | path

Searched refs:latencyUs (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
DDnsStats.cpp76 return std::tie(serverSockAddr, total, rcodeCounts, latencyUs) == in operator ==()
77 std::tie(o.serverSockAddr, o.total, o.rcodeCounts, o.latencyUs); in operator ==()
81 return (total == 0) ? 0 : duration_cast<milliseconds>(latencyUs).count() / total; in averageLatencyMs()
130 mStatsData.latencyUs += record.latencyUs; in updateStatsData()
134 mStatsData.latencyUs -= record.latencyUs; in updateStatsData()
207 .latencyUs = microseconds(record.latency_micros()), in addStats()
249 sum += v.latencyUs; in getAverageLatencyUs()
DDnsProxyListener.cpp334 void reportDnsEvent(int eventType, const android_net_context& netContext, int latencyUs, in reportDnsEvent() argument
356 const int latencyMs = latencyUs / 1000;
755 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run() local
756 event.set_latency_micros(latencyUs); in run()
781 reportDnsEvent(INetdEventListener::EVENT_GETADDRINFO, mNetContext, latencyUs, rv, event, mHost, in run()
953 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run() local
954 event.set_latency_micros(latencyUs); in run()
965 reportDnsEvent(INetdEventListener::EVENT_RES_NSEND, mNetContext, latencyUs, in run()
990 reportDnsEvent(INetdEventListener::EVENT_RES_NSEND, mNetContext, latencyUs, in run()
1154 const int32_t latencyUs = saturate_cast<int32_t>(s.timeTakenUs()); in run() local
[all …]
DDnsStatsTest.cpp56 StatsData makeStatsData(const IPSockAddr& server, const int total, const microseconds& latencyUs, in makeStatsData() argument
60 ret.latencyUs = latencyUs; in makeStatsData()
77 .latencyUs{10ms}, in TEST_F()
82 .latencyUs{250ms}, in TEST_F()
DDnsStats.h52 std::chrono::microseconds latencyUs = {}; member
73 std::chrono::microseconds latencyUs; member
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java198 int latencyUs = ConnectivityUtils.saturatedCast(durationUs); in addProbeEvent() local
201 .setLatencyMicros(latencyUs) in addProbeEvent()