Home
last modified time | relevance | path

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

/openthread-latest/include/openthread/platform/
Dtime.h76 uint64_t otPlatTimeGet(void);
/openthread-latest/src/posix/platform/
Dalarm.cpp80 uint64_t otPlatTimeGet(void) in otPlatTimeGet() function
90 static uint64_t platformAlarmGetNow(void) { return otPlatTimeGet() * sSpeedUpFactor; } in platformAlarmGetNow()
Dhdlc_interface.cpp394 uint64_t now = otPlatTimeGet(); in WaitForWritable()
429 now = otPlatTimeGet(); in WaitForWritable()
751 end = otPlatTimeGet() + kResetTimeout * OT_US_PER_MS; in ResetConnection()
760 } while (end > otPlatTimeGet()); in ResetConnection()
Dresolver.cpp76 uint64_t now = otPlatTimeGet(); in TryRefreshDnsServerList()
116 mUpstreamDnsServerListFreshness = otPlatTimeGet(); in LoadDnsServerListFromConf()
Dmulticast_routing.cpp400 uint64_t now = otPlatTimeGet(); in ExpireMulticastForwardingCache()
526 mLastUseTime = otPlatTimeGet(); in Set()
542 mLastUseTime = otPlatTimeGet(); in SetValidPktCnt()
Dvirtual_time.cpp188 uint64_t otPlatTimeGet(void) { return sNow; } in otPlatTimeGet() function
Dspi_interface.cpp740 uint64_t now = otPlatTimeGet(); in WaitForFrame()
775 now = otPlatTimeGet(); in WaitForFrame()
Drcp_caps_diag.cpp745 startTimestamp = otPlatTimeGet(); in ProcessSpinelSpeed()
749 endTimestamp = otPlatTimeGet(); in ProcessSpinelSpeed()
Dradio.cpp341 uint64_t now = otPlatTimeGet(); in platformRadioUpdateFdSet()
/openthread-latest/src/core/radio/
Dradio_platform.cpp262 extern "C" OT_TOOL_WEAK uint64_t otPlatTimeGet(void) { return UINT64_MAX; } in otPlatTimeGet() function
268 return otPlatTimeGet(); in otPlatRadioGetNow()
/openthread-latest/examples/platforms/simulation/virtual_time/
Dalarm-sim.c176 uint64_t otPlatTimeGet(void) { return platformAlarmGetNow(); } in otPlatTimeGet() function
/openthread-latest/src/lib/spinel/
Dradio_spinel.cpp793 else if (mState == kStateTransmitting && otPlatTimeGet() >= mTxRadioEndUs) in ProcessRadioStateMachine()
1409 uint64_t end = otPlatTimeGet() + kMaxWaitTime * kUsPerMs; in WaitResponse()
1417 now = otPlatTimeGet(); in WaitResponse()
1641 netSyncTime = static_cast<uint64_t>(static_cast<int64_t>(otPlatTimeGet()) + in Transmit()
1698 mTxRadioEndUs = otPlatTimeGet() + kTxWaitUs; in Transmit()
1963 VerifyOrExit(!mIsTimeSynced || (otPlatTimeGet() >= GetNextRadioTimeRecalcStart())); in CalcRcpTimeOffset()
1970 localTxTimestamp = otPlatTimeGet(); in CalcRcpTimeOffset()
1976 localRxTimestamp = otPlatTimeGet(); in CalcRcpTimeOffset()
1988 uint64_t RadioSpinel::GetNow(void) { return (mIsTimeSynced) ? (otPlatTimeGet() + mRadioTimeOffset) … in GetNow()
Dspinel_driver.cpp249 uint64_t end = otPlatTimeGet() + kMaxWaitTime * kUsPerMs; in WaitResponse()
255 uint64_t now = otPlatTimeGet(); in WaitResponse()
/openthread-latest/examples/platforms/simulation/
Dradio.c587 sReceiveFrame.mInfo.mRxInfo.mTimestamp = otPlatTimeGet(); in radioReceive()
653 uint64_t sfdTxTime = otPlatTimeGet(); in radioSendMessage()
829 … otEXPECT(otMacFrameProcessTxSfd(&sAckFrame, otPlatTimeGet(), &sRadioContext) == OT_ERROR_NONE); in radioSendAck()
1075 return otPlatTimeGet(); in otPlatRadioGetNow()
Dalarm.c296 uint64_t otPlatTimeGet(void) { return platformGetNow(); } in otPlatTimeGet() function
/openthread-latest/tests/gtest/
Dfake_platform.cpp350 uint64_t otPlatTimeGet(void) { return FakePlatform::CurrentPlatform().GetNow(); } in otPlatTimeGet() function
353 uint32_t otPlatAlarmMicroGetNow(void) { return otPlatTimeGet(); } in otPlatAlarmMicroGetNow()
/openthread-latest/src/core/api/
Dlink_raw_api.cpp226 return otPlatTimeGet(); in otLinkRawGetRadioTime()