Home
last modified time | relevance | path

Searched refs:maxWhenElapsed (Results 1 - 5 of 5) sorted by relevance

/base/time/time_service/services/timer/src/
H A Dtimer_info.cpp58 maxWhenElapsed {_maxWhen},
72 auto oldMaxWhenElapsed = maxWhenElapsed; in UpdateWhenElapsedFromNow()
73 maxWhenElapsed = whenElapsed + windowLength; in UpdateWhenElapsedFromNow()
83 return (oldWhenElapsed != whenElapsed) || (oldMaxWhenElapsed != maxWhenElapsed); in UpdateWhenElapsedFromNow()
89 auto oldMaxWhenElapsed = maxWhenElapsed; in AdjustTimer()
96 maxWhenElapsed = whenElapsed; in AdjustTimer()
98 auto oldMaxTimeSec = std::chrono::duration_cast<std::chrono::seconds>(maxWhenElapsed.time_since_epoch()); in AdjustTimer()
100 maxWhenElapsed = std::chrono::steady_clock::time_point(maxTimeSec); in AdjustTimer()
105 if (maxWhenElapsed < now) { in AdjustTimer()
106 maxWhenElapsed in AdjustTimer()
[all...]
H A Dbatch.cpp31 end_ {seed.maxWhenElapsed},
69 if (alarm->maxWhenElapsed < end_) { in Add()
70 end_ = alarm->maxWhenElapsed; in Add()
97 if (alarm->maxWhenElapsed < newEnd) { in Remove()
98 newEnd = alarm->maxWhenElapsed; in Remove()
H A Dtimer_manager.cpp515 timer->maxWhenElapsed = maxElapsed; in ReAddTimerLocked()
756 AttemptCoalesceLocked(alarm->whenElapsed, alarm->maxWhenElapsed); in InsertAndBatchTimerLocked()
760 alarm->maxWhenElapsed.time_since_epoch().count()); in InsertAndBatchTimerLocked()
H A Dtimer_proxy.cpp780 dprintf(fd, " * timer maxWhenElapsed = %lld\n\n", timer->maxWhenElapsed); in ShowAdjustTimerInfo()
/base/time/time_service/services/timer/include/
H A Dtimer_info.h45 std::chrono::steady_clock::time_point maxWhenElapsed; member in OHOS::MiscServices::TimerInfo

Completed in 4 milliseconds