Home
last modified time | relevance | path

Searched refs:steady_clock (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/src/
H A Dchrono.cpp163 static steady_clock::time_point __libcpp_steady_clock_now() { in __libcpp_steady_clock_now()
167 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in __libcpp_steady_clock_now()
183 static steady_clock::time_point __libcpp_steady_clock_now() { in __libcpp_steady_clock_now()
191 return steady_clock::time_point(steady_clock::duration(dur)); in __libcpp_steady_clock_now()
196 static steady_clock::time_point __libcpp_steady_clock_now() { in __libcpp_steady_clock_now()
201 return steady_clock::time_point(seconds(ts.tv_sec) + nanoseconds(ts.tv_nsec)); in __libcpp_steady_clock_now()
206 static steady_clock::time_point __libcpp_steady_clock_now() noexcept { in __libcpp_steady_clock_now()
212 return steady_clock::time_point(nanoseconds(_zx_clock_get_monotonic())); in __libcpp_steady_clock_now()
217 static steady_clock::time_point __libcpp_steady_clock_now() { in __libcpp_steady_clock_now()
221 return steady_clock::time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in __libcpp_steady_clock_now()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DExponentialBackoff.h35 using duration = std::chrono::steady_clock::duration;
36 using time_point = std::chrono::steady_clock::time_point;
48 EndTime(std::chrono::steady_clock::now() + Timeout) {} in MinWait()
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h88 …__do_timed_wait(unique_lock<mutex>& __lk, chrono::time_point<chrono::steady_clock, chrono::nanosec… in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
181 steady_clock::time_point __c_now = steady_clock::now(); in wait_for()
184 using __clock_tp_ns = time_point<steady_clock, nanoseconds>; in wait_for()
199 return steady_clock::now() - __c_now < __d ? cv_status::no_timeout : cv_status::timeout; in wait_for()
205 return wait_until(__lk, chrono::steady_clock::now() + __d, std::move(__pred)); in wait_for()
210 …unique_lock<mutex>& __lk, chrono::time_point<chrono::steady_clock, chrono::nanoseconds> __tp) _NOE… in __do_timed_wait() argument
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dsteady_clock.h26 class _LIBCPP_EXPORTED_FROM_ABI steady_clock {
31 typedef chrono::time_point<steady_clock, duration> time_point;
H A Dhigh_resolution_clock.h13 #include <__chrono/steady_clock.h>
26 typedef steady_clock high_resolution_clock;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTaskTimer.h37 auto start = std::chrono::steady_clock::now(); in TimeTask()
39 auto end = std::chrono::steady_clock::now(); in TimeTask()
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h62 inline _LIBCPP_HIDE_FROM_ABI void sleep_until(const chrono::time_point<chrono::steady_clock, _Durat… in sleep_until() argument
63 this_thread::sleep_for(__t - chrono::steady_clock::now()); in sleep_until()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp46 m_end_time = steady_clock::time_point(steady_clock::now() + timeout); in SetTimeout()
201 duration_cast<microseconds>(*m_end_time - steady_clock::now()); in Select()
H A DTimer.cpp61 : m_category(category), m_total_start(std::chrono::steady_clock::now()) { in Timer()
85 auto stop_time = steady_clock::now(); in ~Timer()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DExponentialBackoff.cpp15 auto Now = std::chrono::steady_clock::now(); in waitForNextAttempt()
H A Draw_socket_stream.cpp211 auto Start = std::chrono::steady_clock::now(); in getSocketFD()
220 std::chrono::steady_clock::now() - Start); in getSocketFD()
H A DTimeProfiler.cpp36 using std::chrono::steady_clock;
62 using ClockType = steady_clock;
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DSelectHelper.h68 std::optional<std::chrono::steady_clock::time_point> m_end_time;
H A DTimer.h64 using TimePoint = std::chrono::steady_clock::time_point;
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcondition_variable122 #include <__chrono/steady_clock.h>
254 return wait_until(__lock, chrono::steady_clock::now() + __d);
260 return wait_until(__lock, chrono::steady_clock::now() + __d, std::move(__pred));
341 …return wait_until(__lock, std::move(__stoken), chrono::steady_clock::now() + __rel_time, std::move…
H A Dmutex189 #include <__chrono/steady_clock.h>
256 return try_lock_until(chrono::steady_clock::now() + __d);
295 return try_lock_until(chrono::steady_clock::now() + __d);
H A Dshared_mutex130 # include <__chrono/steady_clock.h>
238 return try_lock_until(chrono::steady_clock::now() + __rel_time);
252 return try_lock_shared_until(chrono::steady_clock::now() + __rel_time);
H A Dchrono328 class steady_clock
334 typedef chrono::time_point<steady_clock, duration> time_point;
340 typedef steady_clock high_resolution_clock;
947 #include <__chrono/steady_clock.h>
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteClientBase.cpp72 auto cur_time = steady_clock::now(); in SendContinuePacketAndWaitForResponse()
386 m_comm.m_interrupt_endpoint = steady_clock::now() + m_interrupt_timeout; in SyncWithContinueThread()
H A DGDBRemoteClientBase.h135 std::chrono::time_point<std::chrono::steady_clock> m_interrupt_endpoint;
H A DGDBRemoteCommunicationClient.cpp90 std::chrono::steady_clock::time_point start_of_handshake = in HandshakeWithServer()
91 std::chrono::steady_clock::now(); in HandshakeWithServer()
100 std::chrono::steady_clock::time_point end_of_handshake = in HandshakeWithServer()
101 std::chrono::steady_clock::now(); in HandshakeWithServer()
2496 const auto start_time = steady_clock::now(); in TestPacketSpeed()
2498 const auto packet_start_time = steady_clock::now(); in TestPacketSpeed()
2501 const auto packet_end_time = steady_clock::now(); in TestPacketSpeed()
2504 const auto end_time = steady_clock::now(); in TestPacketSpeed()
2550 const auto start_time = steady_clock::now(); in TestPacketSpeed()
2559 const auto end_time = steady_clock::now(); in TestPacketSpeed()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DPipePosix.cpp52 static std::chrono::time_point<std::chrono::steady_clock> Now() { in Now()
53 return std::chrono::steady_clock::now(); in Now()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DUnwindLLDB.cpp47 auto time_value = steady_clock::now(); in DoGetFrameCount()
58 const auto now = steady_clock::now(); in DoGetFrameCount()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dchrono.cppm
H A Dchrono.inc115 // [time.clock.steady], class steady_clock
116 using std::chrono::steady_clock;

12