Home
last modified time | relevance | path

Searched refs:rel_time (Results 1 – 25 of 53) sorted by relevance

123

/third_party/boost/boost/thread/
Dlockable_adapter.hpp79 bool try_lock_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_for()
81 return this->lockable().try_lock_for(rel_time); in try_lock_for()
113 bool try_lock_shared_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_shared_for()
115 return this->lockable().try_lock_shared_for(rel_time); in try_lock_shared_for()
150 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) const in try_lock_upgrade_for()
152 return this->lockable().try_lock_upgrade_for(rel_time); in try_lock_upgrade_for()
166 bool try_unlock_shared_and_lock_for(chrono::duration<Rep, Period> const & rel_time) const in try_unlock_shared_and_lock_for()
168 return this->lockable().try_unlock_shared_and_lock_for(rel_time); in try_unlock_shared_and_lock_for()
187 … bool try_unlock_shared_and_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) const in try_unlock_shared_and_lock_upgrade_for()
189 return this->lockable().try_unlock_shared_and_lock_upgrade_for(rel_time); in try_unlock_shared_and_lock_upgrade_for()
[all …]
Dpoly_shared_lockable_adapter.hpp48 bool try_lock_shared_for(chrono::nanoseconds const & rel_time) in try_lock_shared_for() argument
50 return this->mtx().try_lock_shared_for(rel_time); in try_lock_shared_for()
87 bool try_lock_upgrade_for(chrono::nanoseconds const & rel_time) in try_lock_upgrade_for() argument
89 return this->mtx().try_lock_upgrade_for(rel_time); in try_lock_upgrade_for()
105 bool try_unlock_shared_and_lock_for(chrono::nanoseconds const & rel_time) in try_unlock_shared_and_lock_for() argument
107 return this->mtx().try_unlock_shared_and_lock_for(rel_time); in try_unlock_shared_and_lock_for()
128 bool try_unlock_shared_and_lock_upgrade_for(chrono::nanoseconds const & rel_time) in try_unlock_shared_and_lock_upgrade_for() argument
130 return this->mtx().try_unlock_shared_and_lock_upgrade_for(rel_time); in try_unlock_shared_and_lock_upgrade_for()
155 bool try_unlock_upgrade_and_lock_for(chrono::nanoseconds const & rel_time) in try_unlock_upgrade_and_lock_for() argument
157 return this->mtx().try_unlock_upgrade_and_lock_for(rel_time); in try_unlock_upgrade_and_lock_for()
Dpoly_shared_lockable.hpp41 bool try_lock_shared_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_shared_for() argument
43 return try_lock_shared_for(chrono::duration_cast<chrono::nanoseconds>(rel_time)); in try_lock_shared_for()
72 bool try_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_upgrade_for() argument
74 return try_lock_upgrade_for(chrono::duration_cast<chrono::nanoseconds>(rel_time)); in try_lock_upgrade_for()
89 bool try_unlock_shared_and_lock_for(chrono::duration<Rep, Period> const & rel_time) in try_unlock_shared_and_lock_for() argument
91 return try_unlock_shared_and_lock_for(chrono::duration_cast<chrono::nanoseconds>(rel_time)); in try_unlock_shared_and_lock_for()
107 bool try_unlock_shared_and_lock_upgrade_for(chrono::duration<Rep, Period> const & rel_time) in try_unlock_shared_and_lock_upgrade_for() argument
109 …eturn try_unlock_shared_and_lock_upgrade_for(chrono::duration_cast<chrono::nanoseconds>(rel_time)); in try_unlock_shared_and_lock_upgrade_for()
126 bool try_unlock_upgrade_and_lock_for(chrono::duration<Rep, Period> const & rel_time) in try_unlock_upgrade_and_lock_for() argument
128 return try_unlock_upgrade_and_lock_for(chrono::duration_cast<chrono::nanoseconds>(rel_time)); in try_unlock_upgrade_and_lock_for()
Dpoly_lockable.hpp62 bool try_lock_for(chrono::duration<Rep, Period> const & rel_time) in try_lock_for() argument
64 return try_lock_for(chrono::duration_cast<chrono::nanoseconds>(rel_time)); in try_lock_for()
Dpoly_lockable_adapter.hpp80 bool try_lock_for(chrono::nanoseconds const & rel_time) in try_lock_for() argument
82 return this->mtx().try_lock_for(rel_time); in try_lock_for()
Dlock_types.hpp243 const chrono::duration<Rep, Period>& rel_time) in unique_lock() argument
248 if (BOOST_THREAD_RV(ul).mutex()->try_unlock_upgrade_and_lock_for(rel_time)) in unique_lock()
302 const chrono::duration<Rep, Period>& rel_time) in unique_lock() argument
307 if (BOOST_THREAD_RV(sl).mutex()->try_unlock_shared_and_lock_for(rel_time)) in unique_lock()
410 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time) in try_lock_for() argument
420 is_locked=m->try_lock_for(rel_time); in try_lock_for()
692 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time) in try_lock_for() argument
702 is_locked=m->try_lock_shared_for(rel_time); in try_lock_for()
890 const chrono::duration<Rep, Period>& rel_time) in upgrade_lock() argument
895 if (BOOST_THREAD_RV(sl).mutex()->try_unlock_shared_and_lock_upgrade_for(rel_time)) in upgrade_lock()
[all …]
Dtestable_mutex.hpp78 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time) in try_lock_for() argument
81 if (mtx_.try_lock_for(rel_time)) in try_lock_for()
/third_party/boost/libs/thread/doc/
Dshared_mutex_ref.qbk24 bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
32 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
81 bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
89 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
96 bool try_lock_upgrade_for(const chrono::duration<Rep, Period>& rel_time);
106 bool try_unlock_shared_and_lock_for(const chrono::duration<Rep, Period>& rel_time);
117 bool try_unlock_shared_and_lock_upgrade_for(const chrono::duration<Rep, Period>& rel_time);
130 bool try_unlock_upgrade_and_lock_for(const chrono::duration<Rep, Period>& rel_time);
163 bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
173 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
[all …]
/third_party/boost/boost/thread/v2/
Dshared_mutex.hpp228 bool try_lock_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_for() argument
230 return try_lock_until(chrono::steady_clock::now() + rel_time); in try_lock_for()
248 bool try_lock_shared_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() argument
250 return try_lock_shared_until(chrono::steady_clock::now() + rel_time); in try_lock_shared_for()
528 bool try_lock_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_for() argument
530 return try_lock_until(chrono::steady_clock::now() + rel_time); in try_lock_for()
548 bool try_lock_shared_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() argument
550 return try_lock_shared_until(chrono::steady_clock::now() + rel_time); in try_lock_shared_for()
569 const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_upgrade_for() argument
571 return try_lock_upgrade_until(chrono::steady_clock::now() + rel_time); in try_lock_upgrade_for()
[all …]
/third_party/boost/boost/thread/pthread/
Dshared_mutex.hpp222 bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() argument
224 return try_lock_shared_until(chrono::steady_clock::now() + rel_time); in try_lock_shared_for()
315 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time) in try_lock_for() argument
317 return try_lock_until(chrono::steady_clock::now() + rel_time); in try_lock_for()
404 bool try_lock_upgrade_for(const chrono::duration<Rep, Period>& rel_time) in try_lock_upgrade_for() argument
406 return try_lock_upgrade_until(chrono::steady_clock::now() + rel_time); in try_lock_upgrade_for()
499 const chrono::duration<Rep, Period>& rel_time) in try_unlock_upgrade_and_lock_for() argument
502 chrono::steady_clock::now() + rel_time); in try_unlock_upgrade_and_lock_for()
557 const chrono::duration<Rep, Period>& rel_time) in try_unlock_shared_and_lock_for() argument
560 chrono::steady_clock::now() + rel_time); in try_unlock_shared_and_lock_for()
[all …]
Dthread_data.hpp275 void sleep(TimeDuration const& rel_time) in sleep() argument
280 cond.timed_wait(lock, rel_time, hidden::always_false); in sleep()
333 void sleep(TimeDuration const& rel_time) in sleep() argument
335 hidden::sleep_for_internal(detail::platform_duration(rel_time)); in sleep()
381 void sleep(TimeDuration const& rel_time)
383 this_thread::sleep(rel_time);
/third_party/boost/boost/process/detail/posix/
Dwait_group.hpp105 const std::chrono::duration<Rep, Period>& rel_time, in wait_for() argument
108 return wait_until(p, std::chrono::steady_clock::now() + rel_time, ec); in wait_for()
114 const std::chrono::duration<Rep, Period>& rel_time) noexcept in wait_for() argument
117 bool b = wait_for(p, rel_time, ec); in wait_for()
Dwait_for_exit.hpp221 const std::chrono::duration<Rep, Period>& rel_time, in wait_for() argument
224 return wait_until(p, exit_code, std::chrono::steady_clock::now() + rel_time, ec); in wait_for()
231 const std::chrono::duration<Rep, Period>& rel_time) in wait_for() argument
234 bool b = wait_for(p, exit_code, rel_time, ec); in wait_for()
/third_party/boost/boost/thread/detail/
Dplatform_time.hpp145 platform_duration(boost::posix_time::time_duration const& rel_time) in platform_duration()
148 ts_val.tv_sec = rel_time.total_seconds(); in platform_duration()
149 …ts_val.tv_nsec = static_cast<long>(rel_time.fractional_seconds() * (1000000000l / rel_time.ticks_p… in platform_duration()
151 ns_val = static_cast<boost::time_max_t>(rel_time.total_seconds()) * 1000000000l; in platform_duration()
152 ns_val += rel_time.fractional_seconds() * (1000000000l / rel_time.ticks_per_second()); in platform_duration()
/third_party/boost/boost/asio/impl/
Dio_context.hpp63 const chrono::duration<Rep, Period>& rel_time) in run_for() argument
65 return this->run_until(chrono::steady_clock::now() + rel_time); in run_for()
81 const chrono::duration<Rep, Period>& rel_time) in run_one_for() argument
83 return this->run_one_until(chrono::steady_clock::now() + rel_time); in run_one_for()
93 typename Clock::duration rel_time = abs_time - now; in run_one_until() local
94 if (rel_time > chrono::seconds(1)) in run_one_until()
95 rel_time = chrono::seconds(1); in run_one_until()
100 chrono::microseconds>(rel_time).count()), ec); in run_one_until()
/third_party/boost/libs/asio/include/boost/asio/impl/
Dio_context.hpp63 const chrono::duration<Rep, Period>& rel_time) in run_for() argument
65 return this->run_until(chrono::steady_clock::now() + rel_time); in run_for()
81 const chrono::duration<Rep, Period>& rel_time) in run_one_for() argument
83 return this->run_one_until(chrono::steady_clock::now() + rel_time); in run_one_for()
93 typename Clock::duration rel_time = abs_time - now; in run_one_until() local
94 if (rel_time > chrono::seconds(1)) in run_one_until()
95 rel_time = chrono::seconds(1); in run_one_until()
100 chrono::microseconds>(rel_time).count()), ec); in run_one_until()
/third_party/boost/boost/process/detail/windows/
Dwait_for_exit.hpp103 const std::chrono::duration<Rep, Period>& rel_time, in wait_for() argument
106 return wait_until(p, exit_code, std::chrono::steady_clock::now() + rel_time, ec); in wait_for()
113 const std::chrono::duration<Rep, Period>& rel_time) in wait_for() argument
116 bool b = wait_for(p, exit_code, rel_time, ec); in wait_for()
Dwait_group.hpp111 const std::chrono::duration<Rep, Period>& rel_time, in wait_for() argument
114 auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(rel_time); in wait_for()
122 const std::chrono::duration<Rep, Period>& rel_time) in wait_for() argument
125 bool b = wait_for(p, rel_time, ec); in wait_for()
/third_party/boost/boost/process/
Dgroup.hpp128 bool wait_for (const std::chrono::duration<Rep, Period>& rel_time) in wait_for() argument
130 return boost::process::detail::api::wait_for(_group_handle, rel_time); in wait_for()
135 … bool wait_for (const std::chrono::duration<Rep, Period>& rel_time, std::error_code & ec) noexcept in wait_for() argument
137 return boost::process::detail::api::wait_for(_group_handle, rel_time, ec); in wait_for()
/third_party/boost/libs/multiprecision/performance/
Dperformance_test.cpp83 double rel_time = l->second / best_times[m]; in quickbook_results() local
84 if (rel_time == 1) in quickbook_results()
85 std::cout << "[[*" << rel_time << "]"; in quickbook_results()
87 std::cout << "[" << rel_time; in quickbook_results()
/third_party/boost/boost/thread/executors/
Dscheduler.hpp147 the_executor after(chrono::duration<Rep,Period> const& rel_time) in after() argument
149 return at(clock::now() + rel_time ); in after()
250 at_executor<scheduler> after(chrono::duration<Rep,Period> const& rel_time) in after() argument
252 return at(rel_time + clock::now()); in after()
/third_party/boost/boost/process/detail/
Dchild_decl.hpp129 bool wait_for (const std::chrono::duration<Rep, Period>& rel_time) in wait_for() argument
132 bool b = wait_for(rel_time, ec); in wait_for()
182 … bool wait_for (const std::chrono::duration<Rep, Period>& rel_time, std::error_code & ec) noexcept in wait_for() argument
184 return wait_until(std::chrono::steady_clock::now() + rel_time, ec); in wait_for()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/upgrade_lock/locking/
Dtry_lock_for_pass.cpp33 bool try_lock_upgrade_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_upgrade_for()
35 BOOST_TEST(rel_time == ms(5)); in try_lock_upgrade_for()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/locking/
Dtry_lock_for_pass.cpp36 bool try_lock_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_for()
38 BOOST_TEST(rel_time == ms(5)); in try_lock_for()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/shared_lock/locking/
Dtry_lock_for_pass.cpp33 bool try_lock_shared_for(const boost::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for()
35 BOOST_TEST(rel_time == ms(5)); in try_lock_shared_for()

123