Home
last modified time | relevance | path

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

/art/runtime/
Dthread_list.cc734 useconds_t sleep_us = kThreadSuspendInitialSleepUs; in SuspendThreadByPeer() local
812 } else if (sleep_us == 0 && in SuspendThreadByPeer()
816 sleep_us = kThreadSuspendMaxYieldUs / 2; in SuspendThreadByPeer()
822 ThreadSuspendSleep(sleep_us); in SuspendThreadByPeer()
825 sleep_us = std::min(sleep_us * 2, kThreadSuspendMaxSleepUs); in SuspendThreadByPeer()
839 useconds_t sleep_us = kThreadSuspendInitialSleepUs; in SuspendThreadByThreadId() local
912 } else if (sleep_us == 0 && in SuspendThreadByThreadId()
916 sleep_us = kThreadSuspendMaxYieldUs / 2; in SuspendThreadByThreadId()
922 ThreadSuspendSleep(sleep_us); in SuspendThreadByThreadId()
923 sleep_us = std::min(sleep_us * 2, kThreadSuspendMaxSleepUs); in SuspendThreadByThreadId()