|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
usr/include/c++/7.4.0/chrono 64 struct duration;
References
include/llvm/Support/Chrono.h 112 struct format_provider<std::chrono::duration<Rep, Period>> {
114 typedef std::chrono::duration<Rep, Period> Dur;
121 return duration_cast<duration<InternalRep, AsPeriod>>(D).count();
lib/Support/TimeProfiler.cpp 29 typedef duration<steady_clock::rep, steady_clock::period> DurationType;
lib/Support/Timer.cpp 118 using Seconds = std::chrono::duration<double, std::ratio<1>>;
tools/lld/Common/Timer.cpp 60 return std::chrono::duration_cast<std::chrono::duration<double, std::milli>>(
tools/lldb/include/lldb/Utility/Timeout.h 28 class Timeout : public llvm::Optional<std::chrono::duration<int64_t, Ratio>> {
30 template <typename Ratio2> using Dur = std::chrono::duration<int64_t, Ratio2>;
36 using Base = llvm::Optional<Dur<Ratio>>;
49 Timeout(const std::chrono::duration<Rep2, Ratio2> &other)
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 2322 duration<float>
2324 using Dur = duration<float>;
2355 std::vector<duration<float>> packet_times;
2379 const duration<float> standard_deviation =
unittests/Support/Chrono.cpp 105 typedef duration<float, std::ratio<60 * 60 * 24 * 14, 1000000>>
usr/include/c++/7.4.0/bits/atomic_futex.h 169 const chrono::duration<_Rep, _Period>& __rtime)
usr/include/c++/7.4.0/bits/std_mutex.h 224 const chrono::duration<_Rep, _Period>& __rtime)
303 try_lock_for(const chrono::duration<_Rep, _Period>& __rtime)
usr/include/c++/7.4.0/chrono 86 typedef __success_type<chrono::duration<__cr, __r>> type;
94 struct common_type<chrono::duration<_Rep1, _Period1>,
95 chrono::duration<_Rep2, _Period2>>
133 __cast(const duration<_Rep, _Period>& __d)
147 __cast(const duration<_Rep, _Period>& __d)
159 __cast(const duration<_Rep, _Period>& __d)
172 __cast(const duration<_Rep, _Period>& __d)
186 struct __is_duration<duration<_Rep, _Period>>
194 duration_cast(const duration<_Rep, _Period>& __d)
319 duration(const duration&) = default;
334 constexpr duration(const duration<_Rep2, _Period2>& __d)
338 duration& operator=(const duration&) = default;
338 duration& operator=(const duration&) = default;
346 constexpr duration
350 constexpr duration
352 { return duration(-__r); }
354 _GLIBCXX17_CONSTEXPR duration&
361 _GLIBCXX17_CONSTEXPR duration
363 { return duration(__r++); }
365 _GLIBCXX17_CONSTEXPR duration&
372 _GLIBCXX17_CONSTEXPR duration
374 { return duration(__r--); }
376 _GLIBCXX17_CONSTEXPR duration&
377 operator+=(const duration& __d)
383 _GLIBCXX17_CONSTEXPR duration&
384 operator-=(const duration& __d)
390 _GLIBCXX17_CONSTEXPR duration&
397 _GLIBCXX17_CONSTEXPR duration&
408 duration&>::type
418 duration&>::type
419 operator%=(const duration& __d)
426 static constexpr duration
428 { return duration(duration_values<rep>::zero()); }
430 static constexpr duration
432 { return duration(duration_values<rep>::min()); }
434 static constexpr duration
436 { return duration(duration_values<rep>::max()); }
444 constexpr typename common_type<duration<_Rep1, _Period1>,
445 duration<_Rep2, _Period2>>::type
446 operator+(const duration<_Rep1, _Period1>& __lhs,
447 const duration<_Rep2, _Period2>& __rhs)
449 typedef duration<_Rep1, _Period1> __dur1;
450 typedef duration<_Rep2, _Period2> __dur2;
457 constexpr typename common_type<duration<_Rep1, _Period1>,
458 duration<_Rep2, _Period2>>::type
459 operator-(const duration<_Rep1, _Period1>& __lhs,
460 const duration<_Rep2, _Period2>& __rhs)
462 typedef duration<_Rep1, _Period1> __dur1;
463 typedef duration<_Rep2, _Period2> __dur2;
483 duration<typename __common_rep_type<_Rep1, _Rep2>::type, _Period>
484 operator*(const duration<_Rep1, _Period>& __d, const _Rep2& __s)
486 typedef duration<typename common_type<_Rep1, _Rep2>::type, _Period>
493 duration<typename __common_rep_type<_Rep2, _Rep1>::type, _Period>
494 operator*(const _Rep1& __s, const duration<_Rep2, _Period>& __d)
498 constexpr duration<typename __common_rep_type<_Rep1, typename
500 operator/(const duration<_Rep1, _Period>& __d, const _Rep2& __s)
502 typedef duration<typename common_type<_Rep1, _Rep2>::type, _Period>
510 operator/(const duration<_Rep1, _Period1>& __lhs,
511 const duration<_Rep2, _Period2>& __rhs)
513 typedef duration<_Rep1, _Period1> __dur1;
514 typedef duration<_Rep2, _Period2> __dur2;
521 constexpr duration<typename __common_rep_type<_Rep1, typename
523 operator%(const duration<_Rep1, _Period>& __d, const _Rep2& __s)
525 typedef duration<typename common_type<_Rep1, _Rep2>::type, _Period>
532 constexpr typename common_type<duration<_Rep1, _Period1>,
533 duration<_Rep2, _Period2>>::type
534 operator%(const duration<_Rep1, _Period1>& __lhs,
535 const duration<_Rep2, _Period2>& __rhs)
537 typedef duration<_Rep1, _Period1> __dur1;
538 typedef duration<_Rep2, _Period2> __dur2;
547 operator==(const duration<_Rep1, _Period1>& __lhs,
548 const duration<_Rep2, _Period2>& __rhs)
550 typedef duration<_Rep1, _Period1> __dur1;
551 typedef duration<_Rep2, _Period2> __dur2;
559 operator<(const duration<_Rep1, _Period1>& __lhs,
560 const duration<_Rep2, _Period2>& __rhs)
562 typedef duration<_Rep1, _Period1> __dur1;
563 typedef duration<_Rep2, _Period2> __dur2;
571 operator!=(const duration<_Rep1, _Period1>& __lhs,
572 const duration<_Rep2, _Period2>& __rhs)
578 operator<=(const duration<_Rep1, _Period1>& __lhs,
579 const duration<_Rep2, _Period2>& __rhs)
585 operator>(const duration<_Rep1, _Period1>& __lhs,
586 const duration<_Rep2, _Period2>& __rhs)
592 operator>=(const duration<_Rep1, _Period1>& __lhs,
593 const duration<_Rep2, _Period2>& __rhs)
597 typedef duration<int64_t, nano> nanoseconds;
600 typedef duration<int64_t, micro> microseconds;
603 typedef duration<int64_t, milli> milliseconds;
606 typedef duration<int64_t> seconds;
609 typedef duration<int64_t, ratio< 60>> minutes;
612 typedef duration<int64_t, ratio<3600>> hours;
714 typename common_type<_Dur1, duration<_Rep2, _Period2>>::type>
716 const duration<_Rep2, _Period2>& __rhs)
718 typedef duration<_Rep2, _Period2> __dur2;
727 typename common_type<duration<_Rep1, _Period1>, _Dur2>::type>
728 operator+(const duration<_Rep1, _Period1>& __lhs,
731 typedef duration<_Rep1, _Period1> __dur1;
740 typename common_type<_Dur1, duration<_Rep2, _Period2>>::type>
742 const duration<_Rep2, _Period2>& __rhs)
744 typedef duration<_Rep2, _Period2> __dur2;
915 constexpr chrono::duration<long double, ratio<3600,1>>
924 constexpr chrono::duration<long double, ratio<60,1>>
933 constexpr chrono::duration<long double>
942 constexpr chrono::duration<long double, milli>
951 constexpr chrono::duration<long double, micro>
960 constexpr chrono::duration<long double, nano>
usr/include/c++/7.4.0/condition_variable 137 const chrono::duration<_Rep, _Period>& __rtime)
149 const chrono::duration<_Rep, _Period>& __rtime,
304 wait_for(_Lock& __lock, const chrono::duration<_Rep, _Period>& __rtime)
311 const chrono::duration<_Rep, _Period>& __rtime, _Predicate __p)
usr/include/c++/7.4.0/future 343 wait_for(const chrono::duration<_Rep, _Period>& __rel)
697 wait_for(const chrono::duration<_Rep, _Period>& __rel) const
usr/include/c++/7.4.0/mutex 142 _M_try_lock_for(const chrono::duration<_Rep, _Period>& __rtime)
208 try_lock_for(const chrono::duration<_Rep, _Period>& __rtime)
268 try_lock_for(const chrono::duration<_Rep, _Period>& __rtime)
usr/include/c++/7.4.0/shared_mutex 382 try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time)
395 try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)
572 const chrono::duration<_Rep, _Period>& __rel_time)
612 try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time)
usr/include/c++/7.4.0/thread 361 sleep_for(const chrono::duration<_Rep, _Period>& __rtime)
utils/benchmark/src/timers.h 40 using FpSeconds = std::chrono::duration<double, std::chrono::seconds::period>;