Searched refs:GetTimeDiffMs (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_timer.h | 41 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 D | nstackx_timer.c | 22 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 D | nstackx_device_remote.c | 428 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 D | nstackx_device_local.c | 84 uint32_t diff = GetTimeDiffMs(&cur, &iface->updateTime); in LocalDeviceTimeout()
|
H A D | nstackx_common.c | 250 uint32_t measureElapse = GetTimeDiffMs(&now, &g_processRatePara.measureBefore); in CalculateEventProcessRate()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_transfer.c | 137 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 D | nstackx_dfile_session.c | 295 uint32_t spendTime = GetTimeDiffMs(&endTs, &session->startTs); in CalculateSessionTransferRate() 1644 if (GetTimeDiffMs(&now, &before) >= DEFAULT_WAIT_TIME_MS) { in ReadEventHandle()
|