Home
last modified time | relevance | path

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

/third_party/boost/libs/thread/test/
Dtest_shared_mutex_timed_locks.cpp33 boost::system_time const start=boost::get_system_time(); in BOOST_AUTO_TEST_CASE()
37 BOOST_CHECK((timeout-timeout_resolution)<boost::get_system_time()); in BOOST_AUTO_TEST_CASE()
45 boost::system_time const timeout2=boost::get_system_time()+wait_duration; in BOOST_AUTO_TEST_CASE()
47 BOOST_CHECK((timeout2-timeout_resolution)<boost::get_system_time()); in BOOST_AUTO_TEST_CASE()
64 boost::system_time const start=boost::get_system_time(); in BOOST_AUTO_TEST_CASE()
68 BOOST_CHECK(boost::get_system_time()<timeout); in BOOST_AUTO_TEST_CASE()
76 boost::system_time const timeout2=boost::get_system_time()+wait_duration; in BOOST_AUTO_TEST_CASE()
78 BOOST_CHECK(boost::get_system_time()<timeout2); in BOOST_AUTO_TEST_CASE()
98 boost::system_time const start=boost::get_system_time(); in BOOST_AUTO_TEST_CASE()
102 BOOST_CHECK(boost::get_system_time()<timeout); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_condition_timed_wait_times_out.cpp35 boost::system_time const start=boost::get_system_time(); in do_test_timed_wait_times_out()
40 boost::system_time const end=boost::get_system_time(); in do_test_timed_wait_times_out()
51 boost::system_time const start=boost::get_system_time(); in do_test_timed_wait_with_predicate_times_out()
56 boost::system_time const end=boost::get_system_time(); in do_test_timed_wait_with_predicate_times_out()
68 boost::system_time const start=boost::get_system_time(); in do_test_relative_timed_wait_with_predicate_times_out()
72 boost::system_time const end=boost::get_system_time(); in do_test_relative_timed_wait_with_predicate_times_out()
84 boost::system_time const start=boost::get_system_time(); in do_test_timed_wait_relative_times_out()
88 boost::system_time const end=boost::get_system_time(); in do_test_timed_wait_relative_times_out()
99 boost::system_time const start=boost::get_system_time(); in do_test_cv_any_timed_wait_times_out()
104 boost::system_time const end=boost::get_system_time(); in do_test_cv_any_timed_wait_times_out()
[all …]
Dtest_xtime.cpp65 …BOOST_CHECK(m.timed_lock(boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds… in BOOST_AUTO_TEST_CASE()
67 …boost::timed_mutex::scoped_timed_lock lk(m,boost::get_xtime(boost::get_system_time()+boost::posix_… in BOOST_AUTO_TEST_CASE()
73 …BOOST_CHECK(lk.timed_lock(boost::get_xtime(boost::get_system_time()+boost::posix_time::millisecond… in BOOST_AUTO_TEST_CASE()
93 …cond.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(10))); in BOOST_AUTO_TEST_CASE()
94 …cond.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(10)),… in BOOST_AUTO_TEST_CASE()
95 …cond_any.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(1… in BOOST_AUTO_TEST_CASE()
96 …cond_any.timed_wait(lk,boost::get_xtime(boost::get_system_time()+boost::posix_time::milliseconds(1… in BOOST_AUTO_TEST_CASE()
Dtest_mutex.cpp207 boost::system_time xt = boost::get_system_time()+boost::posix_time::milliseconds(100); in operator ()()
220 boost::system_time timeout = boost::get_system_time()+boost::posix_time::milliseconds(100); in operator ()()
228 boost::system_time now=boost::get_system_time(); in operator ()()
239 boost::system_time target = boost::get_system_time()+boost::posix_time::milliseconds(100); in operator ()()
Dcondition_test_common.hpp64 …boost::system_time const timeout=boost::get_system_time()+boost::posix_time::seconds(timeout_secon… in timed_wait_without_predicate()
79 …boost::system_time const timeout=boost::get_system_time()+boost::posix_time::seconds(timeout_secon… in timed_wait_with_predicate()
Dtest_4882.cpp25 boost::system_time timeout = boost::get_system_time() + boost::posix_time::milliseconds(50); in thread()
Dtest_thread.cpp196 boost::system_time const now=boost::get_system_time(); in do_test_timed_join()
Dtest_lock_concept.cpp573 lk.timed_lock(boost::get_system_time()); in BOOST_AUTO_TEST_CASE()
Dtest_generic_locks.cpp56 boost::system_time const target=boost::get_system_time()+d; in timed_wait()
/third_party/boost/libs/thread/doc/
Dtime.qbk34 thread.time.deprecated.get_system_time `boost::get_system_time()`]. e.g.
36 … boost::system_time const timeout=boost::get_system_time() + boost::posix_time::milliseconds(500);
72 [section:get_system_time Non-member function `get_system_time()`]
76 system_time get_system_time();
Dcondition_variables.qbk259 `this->notify_all()`, when the time as reported by `boost::get_system_time()`
591 `this->notify_all()`, when the time as reported by `boost::get_system_time()`
Dmutex_concepts.qbk337 `timed_lock(boost::get_system_time()+rel_time)`].]]
/third_party/boost/boost/thread/
Dthread_time.hpp19 inline system_time get_system_time() in get_system_time() function
41 system_time const now=get_system_time(); in get_milliseconds_until()
Dxtime.hpp74 *xtp=get_xtime(get_system_time()); in xtime_get()
/third_party/boost/libs/atomic/test/
Dordering_ref.cpp107 boost::system_time start = boost::get_system_time(); in run()
115 while (boost::get_system_time() < end && !detected_conflict_) in run()
124 boost::posix_time::time_duration duration = boost::get_system_time() - start; in run()
Dordering.cpp101 boost::system_time start = boost::get_system_time(); in run()
109 while (boost::get_system_time() < end && !detected_conflict_) in run()
118 boost::posix_time::time_duration duration = boost::get_system_time() - start; in run()
Datomicity.cpp68 boost::system_time start = boost::get_system_time(); in wait_finish()
73 while (boost::get_system_time() < end && !finished()) in wait_finish()
82 boost::posix_time::time_duration duration = boost::get_system_time() - start; in wait_finish()
Datomicity_ref.cpp74 boost::system_time start = boost::get_system_time(); in wait_finish()
79 while (boost::get_system_time() < end && !finished()) in wait_finish()
88 boost::posix_time::time_duration duration = boost::get_system_time() - start; in wait_finish()
/third_party/python/Modules/
Dtimemodule.c78 get_system_time(_PyTime_t *t) in get_system_time() function
89 if (get_system_time(&t) < 0) { in time_time()
106 if (get_system_time(&t) < 0) { in time_time_ns()