Home
last modified time | relevance | path

Searched refs:statistics (Results 1 - 25 of 31) sorted by relevance

12

/foundation/communication/dsoftbus/core/connection/tcp/src/
H A Dsoftbus_tcp_connect_manager.c60 ConnectStatistics statistics; member
76 ConnectStatistics *statistics, int32_t reason) in DfxRecordTcpConnectFail()
78 if (statistics == NULL) { in DfxRecordTcpConnectFail()
79 CONN_LOGW(CONN_COMMON, "statistics is null"); in DfxRecordTcpConnectFail()
84 statistics->connectTraceId, reason); in DfxRecordTcpConnectFail()
85 uint64_t costTime = SoftBusGetSysTimeMs() - statistics->startTime; in DfxRecordTcpConnectFail()
87 .requestId = (int32_t)statistics->reqId, in DfxRecordTcpConnectFail()
96 static void DfxRecordTcpConnectSuccess(uint32_t pId, TcpConnInfoNode *tcpInfo, ConnectStatistics *statistics) in DfxRecordTcpConnectSuccess() argument
98 if (statistics == NULL) { in DfxRecordTcpConnectSuccess()
99 CONN_LOGI(CONN_COMMON, "statistics i in DfxRecordTcpConnectSuccess()
75 DfxRecordTcpConnectFail(uint32_t pId, ConnectOption *option, TcpConnInfoNode *tcpInfo, ConnectStatistics *statistics, int32_t reason) DfxRecordTcpConnectFail() argument
454 WrapperAddTcpConnInfo(const ConnectOption *option, const ConnectResult *result, uint32_t connectionId, uint32_t requestId, int32_t fd, ConnectStatistics statistics) WrapperAddTcpConnInfo() argument
490 TcpOpenClientSocketErr(const ConnectOption *option, uint32_t requestId, ConnectStatistics *statistics, const ConnectResult *result) TcpOpenClientSocketErr() argument
511 ConnectStatistics *statistics = (ConnectStatistics *)SoftBusCalloc(sizeof(ConnectStatistics)); TcpConnectDevice() local
[all...]
/foundation/multimedia/drm_framework/services/utils/
H A Ddrm_dfx.cpp259 DecryptionStatistics &statistics) in ReportDecryptionStatisticsEvent()
264 if (statistics.decryptTimes < MIN_DECRYPTION_TIMES) { in ReportDecryptionStatisticsEvent()
267 uint32_t avgSize = statistics.decryptSumSize / statistics.decryptTimes; in ReportDecryptionStatisticsEvent()
268 uint32_t avgDuration = statistics.decryptSumDuration / statistics.decryptTimes; in ReportDecryptionStatisticsEvent()
275 "ERROR_CODE", statistics.errCode, in ReportDecryptionStatisticsEvent()
276 "ERROR_MESG", statistics.errMessage, in ReportDecryptionStatisticsEvent()
277 "DECRYPT_TIMES", statistics.decryptTimes, in ReportDecryptionStatisticsEvent()
280 "DECRYPT_MAX_SIZE", statistics in ReportDecryptionStatisticsEvent()
258 ReportDecryptionStatisticsEvent(uint64_t instanceId, std::string appName, DecryptionStatistics &statistics) ReportDecryptionStatisticsEvent() argument
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_timer.c47 struct FillpPackStastics *packStastics = &pcb->statistics.pack; in FillpCalFcAppStastics()
48 struct FillAppFcStastics *appFcStastics = &pcb->statistics.appFcStastics; in FillpCalFcAppStastics()
103 struct FillpPackStastics *packStastics = &pcb->statistics.pack; in FillpCalRecvRate()
131 FILLP_GET_SOCKET(pcb)->index, pcb->statistics.debugPcb.nackSend, in FillpCalRecvRate()
132 pcb->statistics.debugPcb.nackFailed, pcb->statistics.debugPcb.nackRcv, in FillpCalRecvRate()
133 pcb->statistics.debugPcb.packSend, pcb->statistics.debugPcb.packFailed, in FillpCalRecvRate()
134 pcb->statistics.debugPcb.packRcv, pcb->statistics in FillpCalRecvRate()
[all...]
H A Dfillp_input.c64 pcb->packTimerNode.interval != pcb->statistics.pack.packIntervalBackup)) { in FillpChangePackInteval()
66 pcb->statistics.pack.packIntervalBackup, pcb->statistics.pack.packInterval); in FillpChangePackInteval()
67 pcb->statistics.pack.packInterval = pcb->statistics.pack.packIntervalBackup; in FillpChangePackInteval()
69 pcb->packTimerNode.interval = pcb->statistics.pack.packInterval; in FillpChangePackInteval()
422 pcb->statistics.appFcStastics.periodSendLostPkts++; in ProtectLongLoopRun()
486 pcb->statistics.debugPcb.nackRcv++; in FillpNackInput()
600 tmpPack.rate = pcb->statistics.pack.periodRecvRate; in FillpHandleAdhocpackFlag()
619 pcb->statistics in FillpHandleAdhocpackFlag()
[all...]
H A Dfillp_flow_control_alg0.c139 pcb->statistics.pack.packInterval = packInterval; in FillpAlg0CalPackInterval()
147 pcb->statistics.debugPcb.curPackDeltaUs = detaUs; in FillpAlg0CalMaxPackRcvInterval()
148 pcb->statistics.pack.periodAckByPackRate = packRate; in FillpAlg0CalMaxPackRcvInterval()
149 pcb->statistics.pack.periodSendRate = periodSendRate; in FillpAlg0CalMaxPackRcvInterval()
163 if (pcb->statistics.traffic.totalSend == 0) { in FillpAlg0FcHandleInit()
243 detaUs = pcb->pcbInst->curTime - pcb->statistics.debugPcb.packRecvedTimeInterval; in FillpAlg0AnalysePack()
247 double rate = (double)pcb->statistics.debugPcb.packIntervalSendBytes * FILLP_FC_IN_BIT; in FillpAlg0AnalysePack()
255 pcb->statistics.debugPcb.packRecvedTimeInterval = pcb->pcbInst->curTime; in FillpAlg0AnalysePack()
256 pcb->statistics.debugPcb.packIntervalSendBytes = FILLP_NULL; in FillpAlg0AnalysePack()
257 pcb->statistics in FillpAlg0AnalysePack()
[all...]
H A Dfillp_flow_control.c215 (pack->rate == 0) && isDataWaitedEmpty && (pcb->statistics.debugPcb.curPackDeltaUs != 0) && in FillpFcTailProtected()
216 (deltaUs >= pcb->statistics.pack.packIntervalBackup)) { in FillpFcTailProtected()
297 pcb->statistics.keepAlive.lastRecvTime = pcb->pcbInst->curTime; in FillpFcInit()
298 pcb->statistics.keepAlive.lastDataRecvTime = pcb->pcbInst->curTime; in FillpFcInit()
328 pcb->statistics.traffic.totalRecved++; in FillpFcDataInput()
330 if (pcb->statistics.traffic.totalRecved == 1) { in FillpFcDataInput()
336 pcb->statistics.traffic.totalRecvedBytes += ((FILLP_UINT32)pkt->dataLen); in FillpFcDataInput()
337 pcb->statistics.pack.periodRecvedOnes++; in FillpFcDataInput()
338 pcb->statistics.pack.periodRecvBits += FILLP_FC_VAL_IN_BITS((FILLP_ULLONG)pkt->dataLen); in FillpFcDataInput()
344 pcb->statistics in FillpFcRecvDropOne()
[all...]
H A Dfillp_common.c119 pcb->statistics.appFcStastics.periodSendLostPkts++; in FillpMoveOneNode()
370 pack.rate = pcb->statistics.pack.periodRecvRate; in FillpSendAdhocpack()
456 pcb->statistics.debugPcb.nackFailed++; in FillpSendRepaetNack()
464 pcb->statistics.debugPcb.nackSend++; in FillpSendRepaetNack()
505 if (pcb->send.retryIndex >= pcb->statistics.nack.historyNackQueueLen) { in FillpSendNack()
506 pcb->send.retryIndex = pcb->send.retryIndex % pcb->statistics.nack.historyNackQueueLen; in FillpSendNack()
714 pcb->packTimerNode.interval = pcb->statistics.pack.packInterval; in FillpCalPackInterval()
717 pcb->statistics.pack.packIntervalBackup = pcb->statistics.pack.packInterval; in FillpCalPackInterval()
718 pcb->statistics in FillpCalPackInterval()
[all...]
H A Dfillp_output.c270 if (pcb->statistics.traffic.totalSend == 0) { in FillpBuildDataPkt()
354 fpcb->statistics.traffic.totalRetryed++; in FillpItemRetrans()
377 struct FillpStatisticsPcb *stats = &(fpcb->statistics); in FillpSendItem()
441 pack.rate = pcb->statistics.pack.periodRecvRate; in FillpSendAdhocpackToDetectRtt()
458 pack->rate = pcb->statistics.pack.periodRecvRate; in FillpSetSimplePack()
472 pack->pktLoss = pcb->statistics.pack.periodRecvPktLoss; in FillpSetSimplePack()
475 if ((!pcb->statistics.pack.peerRtt) && pcb->rtt) { in FillpSetSimplePack()
H A Dfillp_conn.c541 newConn->pcb->fpcb.statistics.pack.packPktNum = confirm->cookieContent.remotePacketSeqNumber; in FillpInitNewPcbByConfirm()
542 newConn->pcb->fpcb.statistics.appFcStastics.pktNum = confirm->cookieContent.remotePacketSeqNumber; in FillpInitNewPcbByConfirm()
1038 pcb->statistics.pack.packPktNum = pcb->recv.pktNum; in FillpSaveConfirmActToPcb()
1039 pcb->statistics.appFcStastics.pktNum = pcb->recv.pktNum; in FillpSaveConfirmActToPcb()
1406 pcb->statistics.debugPcb.connReqFailed++; in FillpSendConnReq()
1425 pcb->statistics.debugPcb.connReqSend++; in FillpSendConnReq()
1531 pcb->statistics.debugPcb.connReqAckFailed++; in FillpSendConnReqAck()
1540 pcb->statistics.debugPcb.connReqAckSend++; in FillpSendConnReqAck()
1677 pcb->statistics.debugPcb.connConfirmFailed++; in FillpSendConnConfirm()
1684 pcb->statistics in FillpSendConnConfirm()
[all...]
H A Dfillp_pcb.c186 fpcb->statistics.nack.historyNackQueueLen = FILLP_DEFAULT_NACK_RETRY_LEN; in InitSimplePcbPar()
187 pcb->retryNackQueue = SpungeAlloc(fpcb->statistics.nack.historyNackQueueLen, sizeof(struct FillpPktNack *), in InitSimplePcbPar()
405 struct FillpStatisticsPcb *pcb = &fpcb->statistics; in FillpInitStastics()
615 for (i = 0; i < fpcb->statistics.nack.historyNackQueueLen; i++) { in FillpPcbRemoveSend()
/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/
H A Dffrt_trace_process.py182 therefore approximate esimation is used in statistics
184 statistics = {
197 statistics["running"]["occurrence"] += 1
205 statistics["running"]["duration"] += curr_timestamp - prev_timestamp
206 if switch_log["cpu"] not in statistics["cpu"].keys():
207 statistics["cpu"][switch_log["cpu"]] = 0
208 statistics["cpu"][switch_log["cpu"]] += curr_timestamp - prev_timestamp
211 if switch_log["prev_state"] not in statistics["switch_out"].keys():
212 statistics["switch_out"][switch_log["prev_state"]] = 0
213 statistics["switch_ou
[all...]
/foundation/communication/dsoftbus/core/discovery/manager/src/
H A Ddisc_manager.c85 DiscoveryStatistics statistics; member
147 infoNode->statistics.startTime = SoftBusGetSysTimeMs(); in DfxRecordStartDiscoveryDevice()
148 infoNode->statistics.repTimes = 0; in DfxRecordStartDiscoveryDevice()
149 infoNode->statistics.devNum = 0; in DfxRecordStartDiscoveryDevice()
150 infoNode->statistics.discTimes = 0; in DfxRecordStartDiscoveryDevice()
162 if (infoNode->statistics.repTimes == 0) { in UpdateDdmpStartDiscoveryTime()
164 infoNode->statistics.startTime = info->statistics.startTime; in UpdateDdmpStartDiscoveryTime()
172 if (infoNode->statistics.repTimes == 0) { in DfxRecordDeviceFound()
175 if (sysTime >= infoNode->statistics in DfxRecordDeviceFound()
194 DiscoveryStatistics *statistics = &infoNode->statistics; DfxRecordStopDiscoveryDevice() local
[all...]
/foundation/communication/dsoftbus/core/connection/br/include/
H A Dsoftbus_conn_br_manager.h68 ConnectStatistics statistics; member
72 ConnectStatistics statistics; member
/foundation/multimedia/drm_framework/frameworks/c/drm_capi/
H A Dnative_mediakeysystem.cpp287 DRM_Statistics *statistics) in vectorToClist()
290 memset_s(statistics, sizeof(DRM_Statistics), 0, sizeof(DRM_Statistics)); in vectorToClist()
291 statistics->statisticsCount = metrics.size(); in vectorToClist()
292 DRM_CHECK_AND_RETURN_RET_LOG((statistics->statisticsCount <= MAX_STATISTICS_COUNT), DRM_ERR_NO_MEMORY, in vectorToClist()
298 int32_t ret = memcpy_s(statistics->statisticsName[i], in vectorToClist()
299 sizeof(statistics->statisticsName[i]), metrics[i].name.c_str(), metrics[i].name.size()); in vectorToClist()
305 ret = memcpy_s(statistics->statisticsDescription[i], in vectorToClist()
306 sizeof(statistics->statisticsDescription[i]), metrics[i].value.c_str(), metrics[i].value.size()); in vectorToClist()
316 Drm_ErrCode OH_MediaKeySystem_GetStatistics(MediaKeySystem *mediaKeySystem, DRM_Statistics *statistics) in OH_MediaKeySystem_GetStatistics() argument
319 DRM_CHECK_AND_RETURN_RET_LOG(((mediaKeySystem != nullptr) && (statistics ! in OH_MediaKeySystem_GetStatistics()
286 vectorToClist(std::vector<IMediaKeySystemService::MetircKeyValue> &metrics, DRM_Statistics *statistics) vectorToClist() argument
[all...]
/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_manager.c117 uint32_t reqId, uint32_t pId, ConnBrDevice *device, const ConnectStatistics *statistics, int32_t reason) in DfxRecordBrConnectFail()
119 if (statistics == NULL) { in DfxRecordBrConnectFail()
120 CONN_LOGW(CONN_BR, "statistics is null"); in DfxRecordBrConnectFail()
124 CONN_LOGD(CONN_BR, "traceId=%{public}u, reason=%{public}d", statistics->connectTraceId, reason); in DfxRecordBrConnectFail()
125 uint64_t costTime = SoftBusGetSysTimeMs() - statistics->startTime; in DfxRecordBrConnectFail()
138 static void DfxRecordBrConnectSuccess(uint32_t pId, ConnBrConnection *connection, ConnectStatistics *statistics) in DfxRecordBrConnectSuccess() argument
140 if (statistics == NULL) { in DfxRecordBrConnectSuccess()
141 CONN_LOGW(CONN_BR, "statistics is null"); in DfxRecordBrConnectSuccess()
145 CONN_LOGD(CONN_BR, "traceId=%{public}u", statistics->connectTraceId); in DfxRecordBrConnectSuccess()
146 uint64_t costTime = SoftBusGetSysTimeMs() - statistics in DfxRecordBrConnectSuccess()
116 DfxRecordBrConnectFail( uint32_t reqId, uint32_t pId, ConnBrDevice *device, const ConnectStatistics *statistics, int32_t reason) DfxRecordBrConnectFail() argument
189 NewRequest( ConnBrRequest **outRequest, uint32_t requestId, ConnectStatistics statistics, const ConnectResult *result) NewRequest() argument
[all...]
/foundation/communication/dsoftbus/core/connection/ble/include/
H A Dsoftbus_conn_ble_manager.h66 ConnectStatistics statistics; member
78 ConnectStatistics statistics; member
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c171 uint32_t reqId, uint32_t pId, ConnBleDevice *device, const ConnectStatistics *statistics, int32_t reason) in DfxRecordBleConnectFail()
173 if (statistics == NULL) { in DfxRecordBleConnectFail()
174 CONN_LOGW(CONN_BLE, "statistics is null"); in DfxRecordBleConnectFail()
182 statistics->connectTraceId, reason); in DfxRecordBleConnectFail()
183 uint64_t costTime = SoftBusGetSysTimeMs() - statistics->startTime; in DfxRecordBleConnectFail()
203 static void DfxRecordBleConnectSuccess(uint32_t pId, ConnBleConnection *connection, ConnectStatistics *statistics) in DfxRecordBleConnectSuccess() argument
205 if (statistics == NULL) { in DfxRecordBleConnectSuccess()
206 CONN_LOGW(CONN_BLE, "statistics is null"); in DfxRecordBleConnectSuccess()
210 CONN_LOGD(CONN_BLE, "record ble conn succ, connectTraceId=%{public}u", statistics->connectTraceId); in DfxRecordBleConnectSuccess()
214 uint64_t costTime = SoftBusGetSysTimeMs() - statistics in DfxRecordBleConnectSuccess()
170 DfxRecordBleConnectFail( uint32_t reqId, uint32_t pId, ConnBleDevice *device, const ConnectStatistics *statistics, int32_t reason) DfxRecordBleConnectFail() argument
[all...]
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndk_fuzzer/
H A Dmediakeysystemndk_fuzzer.cpp218 DRM_Statistics statistics; in FuzzTestMediaKeySystemGetNdk() local
219 memset_s(&statistics, sizeof(DRM_Statistics), 0, sizeof(DRM_Statistics)); in FuzzTestMediaKeySystemGetNdk()
221 OH_MediaKeySystem_GetStatistics(mediaKeySystem, &statistics); in FuzzTestMediaKeySystemGetNdk()
222 OH_MediaKeySystem_GetStatistics(tmpSystem, &statistics); in FuzzTestMediaKeySystemGetNdk()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dfillp_stack_app_config.c355 statisticsPcb = &(netconn->pcb->fpcb.statistics); in FtGetAppFcPeriodRecvRate()
369 statisticsPcb = &(netconn->pcb->fpcb.statistics); in FtGetAppFcPeriodRecvRateBps()
382 statisticsPcb = &(netconn->pcb->fpcb.statistics); in FtGetAppFcPeriodRecvPktLost()
399 appFcStastics = &(netconn->pcb->fpcb.statistics.appFcStastics); in FtGetAppFcPeriodStastics()
H A Dfillp_dfx.c284 const struct FillpStatisticsTraffic *traffic = &(pcb->statistics.traffic); in FillpDfxSockQosNotify()
285 const struct FillAppFcStastics *appFcStastics = &(pcb->statistics.appFcStastics); in FillpDfxSockQosNotify()
599 const struct FillpStatisticsTraffic *traffic = &(pcb->statistics.traffic); in DoShowSockQos()
600 const struct FillAppFcStastics *appFcStastics = &(pcb->statistics.appFcStastics); in DoShowSockQos()
/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/include/
H A Dnative_mediakeysystem.h30 * get and set configurations, get statistics, get content protection level,
208 * @brief Get media key system statistics info.
210 * @param statistics Statistic info gotten.
218 Drm_ErrCode OH_MediaKeySystem_GetStatistics(MediaKeySystem *mediaKeySystem, DRM_Statistics *statistics);
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_memory_allocator_vk.cpp114 stats.blockBytes += budget.statistics.blockBytes; in LogStats()
115 stats.allocationBytes += budget.statistics.allocationBytes; in LogStats()
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/drmservice_fuzzer/
H A Ddrmservice_fuzzer.h227 int32_t GetStatistics(std::map<std::string, std::string> &statistics) override
229 statistics = { { "key1", "value1" }, { "key2", "value2" } };
/foundation/multimedia/drm_framework/services/utils/include/
H A Ddrm_dfx.h137 DecryptionStatistics &statistics);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/fillp/
H A Dfillp_pcb.h174 struct FillpStatisticsPcb statistics; member

Completed in 23 milliseconds

12