/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | chrono.cpp | 163 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 D | ExponentialBackoff.h | 35 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 D | condition_variable.h | 88 …__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 D | steady_clock.h | 26 class _LIBCPP_EXPORTED_FROM_ABI steady_clock { 31 typedef chrono::time_point<steady_clock, duration> time_point;
|
H A D | high_resolution_clock.h | 13 #include <__chrono/steady_clock.h> 26 typedef steady_clock high_resolution_clock;
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TaskTimer.h | 37 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 D | this_thread.h | 62 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 D | SelectHelper.cpp | 46 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 D | Timer.cpp | 61 : 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 D | ExponentialBackoff.cpp | 15 auto Now = std::chrono::steady_clock::now(); in waitForNextAttempt()
|
H A D | raw_socket_stream.cpp | 211 auto Start = std::chrono::steady_clock::now(); in getSocketFD() 220 std::chrono::steady_clock::now() - Start); in getSocketFD()
|
H A D | TimeProfiler.cpp | 36 using std::chrono::steady_clock; 62 using ClockType = steady_clock;
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | SelectHelper.h | 68 std::optional<std::chrono::steady_clock::time_point> m_end_time;
|
H A D | Timer.h | 64 using TimePoint = std::chrono::steady_clock::time_point;
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | condition_variable | 122 #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 D | mutex | 189 #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 D | shared_mutex | 130 # 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 D | chrono | 328 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 D | GDBRemoteClientBase.cpp | 72 auto cur_time = steady_clock::now(); in SendContinuePacketAndWaitForResponse() 386 m_comm.m_interrupt_endpoint = steady_clock::now() + m_interrupt_timeout; in SyncWithContinueThread()
|
H A D | GDBRemoteClientBase.h | 135 std::chrono::time_point<std::chrono::steady_clock> m_interrupt_endpoint;
|
H A D | GDBRemoteCommunicationClient.cpp | 90 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 D | PipePosix.cpp | 52 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 D | UnwindLLDB.cpp | 47 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 D | chrono.cppm |
|
H A D | chrono.inc | 115 // [time.clock.steady], class steady_clock 116 using std::chrono::steady_clock;
|