Lines Matching refs:eventInfo
62 // init eventInfo
85 eventInfo.totalCount += 1;
87 eventInfo.successCount += 1;
88 eventInfo.totalTime += httpPerfInfo.totalTime;
89 eventInfo.totalRate += httpPerfInfo.size / httpPerfInfo.totalTime;
90 eventInfo.totalDnsTime += httpPerfInfo.dnsTime;
91 eventInfo.totalTlsTime += httpPerfInfo.tlsTime;
92 eventInfo.totalFirstRecvTime += httpPerfInfo.firstRecvTime;
93 eventInfo.totalTcpTime += httpPerfInfo.tcpTime;
100 eventInfo.packageName = packageName_;
101 eventInfo.version = MapToJsonString(versionMap);
103 SendHttpPerfEvent(eventInfo);
111 eventInfo.totalCount = 0;
112 eventInfo.successCount = 0;
113 eventInfo.totalTime = 0.0;
114 eventInfo.totalRate = 0.0;
115 eventInfo.totalDnsTime = 0.0;
116 eventInfo.totalTlsTime = 0.0;
117 eventInfo.totalTcpTime = 0.0;
118 eventInfo.totalFirstRecvTime = 0.0;
139 void EventReport::SendHttpPerfEvent(const EventInfo &eventInfo)
143 eventInfo.packageName, TOTAL_TIME_EPARA, eventInfo.totalTime, TOTAL_RATE_EPARA, eventInfo.totalRate,
144 SUCCESS_COUNT_EPARA, eventInfo.successCount, TOTAL_COUNT_EPARA, eventInfo.totalCount, VERSION_EPARA,
145 eventInfo.version, TOTAL_DNS_TIME_EPARA, eventInfo.totalDnsTime, TOTAL_TLS_TIME_EPARA, eventInfo.totalTlsTime,
146 TOTAL_TCP_TIME_EPARA, eventInfo.totalTcpTime, TOTAL_FIRST_RECVIVE_TIME_EPARA, eventInfo.totalFirstRecvTime);