Home
last modified time | relevance | path

Searched refs:wakeup_time (Results 1 – 15 of 15) sorted by relevance

/external/pigweed/pw_thread_zephyr/
Dsleep.cc28 void sleep_until(SystemClock::time_point wakeup_time) { in sleep_until() argument
32 if (wakeup_time <= now) { in sleep_until()
41 while (now < wakeup_time) { in sleep_until()
44 std::min((wakeup_time - now).count(), kMaxTimeoutMinusOne.count()))); in sleep_until()
/external/pigweed/pw_thread_stl/public/pw_thread_stl/
Dsleep_inline.h42 inline void sleep_until(chrono::SystemClock::time_point wakeup_time) { in sleep_until() argument
45 if (chrono::SystemClock::now() >= wakeup_time) { in sleep_until()
48 return std::this_thread::sleep_until(wakeup_time); in sleep_until()
/external/cronet/base/message_loop/
Dmessage_pump_kqueue.cc322 void MessagePumpKqueue::SetWakeupTimerEvent(const base::TimeTicks& wakeup_time, in SetWakeupTimerEvent() argument
329 if (wakeup_time == base::TimeTicks::Max()) { in SetWakeupTimerEvent()
344 timer_event->data = (wakeup_time - base::TimeTicks::Now()).InMicroseconds(); in SetWakeupTimerEvent()
518 const base::TimeTicks& wakeup_time) { in MaybeUpdateWakeupTimer() argument
519 if (wakeup_time == scheduled_wakeup_time_) { in MaybeUpdateWakeupTimer()
524 if (wakeup_time == base::TimeTicks::Max()) { in MaybeUpdateWakeupTimer()
529 SetWakeupTimerEvent(wakeup_time, &timer); in MaybeUpdateWakeupTimer()
537 SetWakeupTimerEvent(wakeup_time, &timer); in MaybeUpdateWakeupTimer()
546 scheduled_wakeup_time_ = wakeup_time; in MaybeUpdateWakeupTimer()
Dmessage_pump_kqueue.h157 void MaybeUpdateWakeupTimer(const base::TimeTicks& wakeup_time);
159 void SetWakeupTimerEvent(const base::TimeTicks& wakeup_time,
/external/jemalloc_new/include/jemalloc/internal/
Dbackground_thread_inlines.h31 uint64_t wakeup_time) { in background_thread_wakeup_time_set() argument
34 wakeup_time == BACKGROUND_THREAD_INDEFINITE_SLEEP, ATOMIC_RELEASE); in background_thread_wakeup_time_set()
35 nstime_init(&info->next_wakeup, wakeup_time); in background_thread_wakeup_time_set()
/external/pigweed/pw_thread/
Dsleep_facade_test_c.c26 pw_chrono_SystemClock_TimePoint wakeup_time) { in pw_this_thread_CallSleepUntil() argument
27 pw_this_thread_SleepUntil(wakeup_time); in pw_this_thread_CallSleepUntil()
Dsleep.cc25 pw_chrono_SystemClock_TimePoint wakeup_time) { in pw_this_thread_SleepUntil() argument
27 SystemClock::duration(wakeup_time.duration_since_epoch.ticks))); in pw_this_thread_SleepUntil()
Dsleep_facade_test.cc32 void pw_this_thread_CallSleepUntil(pw_chrono_SystemClock_TimePoint wakeup_time);
Ddocs.rst30 .. cpp:function:: void pw::this_thread::sleep_until(chrono::SystemClock::time_point wakeup_time)
68 .. cpp:function:: void pw_this_thread_SleepUntil(pw_chrono_SystemClock_TimePoint wakeup_time)
70 Invokes ``pw::this_thread::sleep_until(wakeup_time)``.
/external/pigweed/pw_thread_freertos/public/pw_thread_freertos/
Dsleep_inline.h22 inline void sleep_until(chrono::SystemClock::time_point wakeup_time) { in sleep_until() argument
25 return sleep_for(wakeup_time - chrono::SystemClock::now()); in sleep_until()
/external/pigweed/pw_thread_threadx/public/pw_thread_threadx/
Dsleep_inline.h20 inline void sleep_until(chrono::SystemClock::time_point wakeup_time) { in sleep_until() argument
23 return sleep_for(wakeup_time - chrono::SystemClock::now()); in sleep_until()
/external/pigweed/pw_thread_embos/public/pw_thread_embos/
Dsleep_inline.h20 inline void sleep_until(chrono::SystemClock::time_point wakeup_time) { in sleep_until() argument
23 return sleep_for(wakeup_time - chrono::SystemClock::now()); in sleep_until()
/external/pigweed/pw_thread/public/pw_thread/
Dsleep.h45 void sleep_until(chrono::SystemClock::time_point wakeup_time);
59 void pw_this_thread_SleepUntil(pw_chrono_SystemClock_TimePoint wakeup_time);
/external/libchrome/base/process/
Dprocess_posix.cc66 base::TimeTicks wakeup_time = base::TimeTicks::Now() + wait; in WaitpidWithTimeout() local
69 if (now > wakeup_time) in WaitpidWithTimeout()
72 int64_t sleep_time_usecs = (wakeup_time - now).InMicroseconds(); in WaitpidWithTimeout()
/external/cronet/base/process/
Dprocess_posix.cc73 base::TimeTicks wakeup_time = base::TimeTicks::Now() + wait; in WaitpidWithTimeout() local
76 if (now > wakeup_time) in WaitpidWithTimeout()
80 std::min(static_cast<uint64_t>((wakeup_time - now).InMicroseconds()), in WaitpidWithTimeout()