Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_timer.h41 NSTACKX_EXPORT uint32_t GetTimeDiffMs(const struct timespec *etv, const struct timespec *stv);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_timer.c22 uint32_t GetTimeDiffMs(const struct timespec *etv, const struct timespec *stv) in GetTimeDiffMs() function
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_device_remote.c428 uint32_t diffMs = GetTimeDiffMs(&cur, &(rxIface->updateTime)); in UpdatedByTimeout()
521 if (oldestNode == NULL || GetTimeDiffMs(&tmpNode->updateTs, &oldestNode->updateTs) == 0) { in DestroyOldestRemoteNode()
555 uint32_t diffTime = GetTimeDiffMs(&now, &remoteNode->updateTs); in IsAllowToBeRemoved()
572 uint32_t measureElapse = GetTimeDiffMs(&now, &g_lastReportedTime); in CheckAndRemoveAgingNode()
H A Dnstackx_device_local.c84 uint32_t diff = GetTimeDiffMs(&cur, &iface->updateTime); in LocalDeviceTimeout()
H A Dnstackx_common.c250 uint32_t measureElapse = GetTimeDiffMs(&now, &g_processRatePara.measureBefore); in CalculateEventProcessRate()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_transfer.c137 return GetTimeDiffMs(&now, ts); in GetElapseTime()
1027 uint32_t spendTime = GetTimeDiffMs(&endTs, &dFileTrans->startTs); in CalculateRecvRate()
1436 uint32_t elapseTime = GetTimeDiffMs(now, ts); in GetRemainingTime()
H A Dnstackx_dfile_session.c295 uint32_t spendTime = GetTimeDiffMs(&endTs, &session->startTs); in CalculateSessionTransferRate()
1644 if (GetTimeDiffMs(&now, &before) >= DEFAULT_WAIT_TIME_MS) { in ReadEventHandle()