Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_transreporter.c173 static OpenSessionCntStruct g_openSessionCnt; variable
429 if (SoftBusMutexLock(&g_openSessionCnt.lock) != SOFTBUS_OK) { in SoftbusRecordOpenSession()
435 uint32_t totalCnt = g_openSessionCnt.failCnt + g_openSessionCnt.successCnt; in SoftbusRecordOpenSession()
437 g_openSessionCnt.successRate = (float)(g_openSessionCnt.successCnt) / (float)(totalCnt); in SoftbusRecordOpenSession()
440 (void)SoftBusMutexUnlock(&g_openSessionCnt.lock); in SoftbusRecordOpenSession()
456 if (g_openSessionCnt.successCnt != 0) { in SoftbusRecordOpenSession()
635 if (SoftBusMutexLock(&g_openSessionCnt.lock) != SOFTBUS_OK) { in CreateOpenSessionCntMsg()
649 param->paramValue.u32v = g_openSessionCnt.successCnt; in CreateOpenSessionCntMsg()
655 param->paramValue.u32v = (g_openSessionCnt.failCnt); in CreateOpenSessionCntMsg()
661 param->paramValue.f = g_openSessionCnt.successRate; in CreateOpenSessionCntMsg()
[all …]