Home
last modified time | relevance | path

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

/openthread-latest/examples/platforms/simulation/
Dalarm.c72 static uint32_t sSpeedUpFactor = 1; variable
104 sSpeedUpFactor = aSpeedUpFactor; in platformAlarmInit()
145 …return (uint64_t)now.tv_sec * sSpeedUpFactor * OT_US_PER_S + (uint64_t)now.tv_nsec * sSpeedUpFacto… in platformGetNow()
157 … return (uint64_t)tv.tv_sec * sSpeedUpFactor * OT_US_PER_S + (uint64_t)tv.tv_usec * sSpeedUpFactor; in platformGetNow()
256 remaining /= sSpeedUpFactor; in platformAlarmUpdateTimeout()
/openthread-latest/src/posix/platform/
Dalarm.cpp51 static uint32_t sSpeedUpFactor = 1; variable
90 static uint64_t platformAlarmGetNow(void) { return otPlatTimeGet() * sSpeedUpFactor; } in platformAlarmGetNow()
94 sSpeedUpFactor = aSpeedUpFactor; in platformAlarmInit()
233 remaining /= sSpeedUpFactor; in platformAlarmUpdateTimeout()