Home
last modified time | relevance | path

Searched refs:dnsTime (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/netstack/utils/profiler_utils/src/
H A Dhttp_client_network_message.cpp42 msg.dnsEndTime_ = msg.requestBeginTime_ + static_cast<uint64_t>(timeInfo_.dnsTime); in Parse()
44 msg.dnsEndTime_ + static_cast<uint64_t>(std::max(0.0, timeInfo_.tcpConnectTime - timeInfo_.dnsTime)); in Parse()
50 std::max({timeInfo_.dnsTime, in Parse()
H A Dhttp_network_message.cpp42 msg.dnsEndTime_ = msg.requestBeginTime_ + static_cast<uint64_t>(timeInfo_.dnsTime); in Parse()
44 msg.dnsEndTime_ + static_cast<uint64_t>(std::max(0.0, timeInfo_.tcpConnectTime - timeInfo_.dnsTime)); in Parse()
50 std::max({timeInfo_.dnsTime, in Parse()
H A Di_network_message.cpp80 curl_off_t dnsTime = 0; in GetTimeInfoFromCurlHandle() local
81 CURL_GET_TIME_INFO(handle, CURLINFO_NAMELOOKUP_TIME_T, dnsTime, timeInfo); in GetTimeInfoFromCurlHandle()
/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_task.cpp633 auto dnsTime = GetTimingFromCurl(curlHandle_, CURLINFO_NAMELOOKUP_TIME_T); in DumpHttpPerformance() local
668 taskId_, size, dnsTime, connectTime == 0 ? 0 : connectTime - dnsTime, in DumpHttpPerformance()
670 firstSendTime == 0 ? 0 : firstSendTime - std::max({dnsTime, connectTime, tlsTime}), in DumpHttpPerformance()
679 httpPerfInfo.dnsTime = dnsTime; in DumpHttpPerformance()
681 httpPerfInfo.tcpTime = connectTime == 0 ? 0 : connectTime - dnsTime; in DumpHttpPerformance()
/foundation/communication/netstack/utils/common_utils/include/
H A Dnetstack_hisysevent.h42 double dnsTime; member
/foundation/communication/netstack/utils/profiler_utils/include/
H A Di_network_message.h45 double dnsTime = 0; member
/foundation/communication/netstack/utils/common_utils/src/
H A Dnetstack_hisysevent.cpp90 eventInfo.totalDnsTime += httpPerfInfo.dnsTime; in ProcessHttpPerfHiSysevent()
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp430 auto dnsTime = HttpExec::GetTimingFromCurl(handle, CURLINFO_NAMELOOKUP_TIME_T); in AddCurlHandle() local
438 context->CachePerformanceTimingItem(HttpConstant::RESPONSE_DNS_TIMING, dnsTime); in AddCurlHandle()
464 context->GetTaskId(), size, dnsTime, connectTime == 0 ? 0 : connectTime - dnsTime, in AddCurlHandle()
466 firstSendTime == 0 ? 0 : firstSendTime - std::max({dnsTime, connectTime, tlsTime}), in AddCurlHandle()
475 httpPerfInfo.dnsTime = dnsTime; in AddCurlHandle()
477 httpPerfInfo.tcpTime = connectTime == 0 ? 0 : connectTime - dnsTime; in AddCurlHandle()

Completed in 6 milliseconds