Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dtimed_backoff_policy.h27 _LIBCPP_HIDE_FROM_ABI bool operator()(chrono::nanoseconds __elapsed) const { in operator()
28 if (__elapsed > chrono::milliseconds(128)) in operator()
30 else if (__elapsed > chrono::microseconds(64)) in operator()
31 __libcpp_thread_sleep_for(__elapsed / 2); in operator()
32 else if (__elapsed > chrono::microseconds(4)) in operator()
H A Dpoll_with_backoff.h47 chrono::nanoseconds const __elapsed = chrono::high_resolution_clock::now() - __start; variable
48 if (__max_elapsed != chrono::nanoseconds::zero() && __max_elapsed < __elapsed)
50 if (__backoff(__elapsed))
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_sync.h122 _LIBCPP_HIDE_FROM_ABI bool operator()(chrono::nanoseconds __elapsed) const {
123 if (__elapsed > chrono::microseconds(64)) {
129 } else if (__elapsed > chrono::microseconds(4))