Home
last modified time | relevance | path

Searched refs:system_clock (Results 1 – 25 of 78) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dcompatibility-chrono.cc33 #define system_clock system_clockXX macro
36 #undef system_clock
46 struct system_clock struct
56 typedef chrono::time_point<system_clock, duration> time_point; argument
58 static_assert(system_clock::duration::min()
59 < system_clock::duration::zero(),
68 constexpr bool system_clock::is_steady;
70 system_clock::time_point
71 system_clock::now() noexcept in now()
82 typedef chrono::time_point<system_clock, seconds> __from; in now()
[all …]
H A Dchrono.cc49 constexpr bool system_clock::is_steady;
51 system_clock::time_point
52 system_clock::now() noexcept in now()
72 return system_clock::from_time_t(__sec); in now()
93 return time_point(system_clock::now().time_since_epoch()); in now()
H A Dcompatibility-c++0x.cc128 struct system_clock struct
132 constexpr bool system_clock::is_monotonic;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dcompatibility-chrono.cc37 #define system_clock system_clockXX macro
40 #undef system_clock
50 struct system_clock struct
60 typedef chrono::time_point<system_clock, duration> time_point; argument
62 static_assert(system_clock::duration::min()
63 < system_clock::duration::zero(),
72 constexpr bool system_clock::is_steady;
74 system_clock::time_point
75 system_clock::now() noexcept in now()
86 typedef chrono::time_point<system_clock, seconds> __from; in now()
[all …]
H A Dchrono.cc48 constexpr bool system_clock::is_steady;
50 system_clock::time_point
51 system_clock::now() noexcept in now()
71 return system_clock::from_time_t(__sec); in now()
92 return time_point(system_clock::now().time_since_epoch()); in now()
H A Dcompatibility-c++0x.cc132 struct system_clock struct
136 constexpr bool system_clock::is_monotonic;
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dchrono.cpp66 static system_clock::time_point __libcpp_system_clock_now() { in __libcpp_system_clock_now()
85 return system_clock::time_point(duration_cast<system_clock::duration>(d - nt_to_unix_epoch)); in __libcpp_system_clock_now()
90 static system_clock::time_point __libcpp_system_clock_now() {
94 return system_clock::time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000));
99 static system_clock::time_point __libcpp_system_clock_now() {
102 return system_clock::time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec));
107 const bool system_clock::is_steady;
109 system_clock::time_point
110 system_clock::now() noexcept in now()
116 system_clock::to_time_t(const time_point& t) noexcept in to_time_t()
[all …]
H A Dcondition_variable.cpp51 chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) noexcept in __do_timed_wait() argument
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerInternal.h45 return duration_cast<seconds>(system_clock::now() - ProcessStartTime) in secondsSinceProcessStartUp()
132 system_clock::time_point LastAllocatorPurgeAttemptTime = system_clock::now();
140 system_clock::time_point ProcessStartTime = system_clock::now();
141 system_clock::time_point UnitStartTime, UnitStopTime;
H A DFuzzerLoop.cpp286 duration_cast<seconds>(system_clock::now() - UnitStartTime).count(); in AlarmCallback()
455 UnitStartTime = system_clock::now(); in CheckForUnstableCounters()
460 UnitStopTime = system_clock::now(); in CheckForUnstableCounters()
568 UnitStartTime = system_clock::now(); in ExecuteCallback()
573 UnitStopTime = system_clock::now(); in ExecuteCallback()
724 if (duration_cast<seconds>(system_clock::now() - in PurgeAllocator()
733 LastAllocatorPurgeAttemptTime = system_clock::now(); in PurgeAllocator()
810 system_clock::time_point LastCorpusReload = system_clock::now(); in Loop()
814 auto Now = system_clock::now(); in Loop()
818 LastCorpusReload = system_clock::now(); in Loop()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DChrono.h33 using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>;
38 return system_clock::to_time_t( in toTimeT()
39 time_point_cast<system_clock::time_point::duration>(TP)); in toTimeT()
46 return time_point_cast<seconds>(system_clock::from_time_t(T)); in toTimePoint()
53 return time_point_cast<nanoseconds>(system_clock::from_time_t(T)) in toTimePoint()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dcondition_variable70 using system_clock = chrono::system_clock;
74 using __clock_t = system_clock;
116 const chrono::time_point<system_clock, _Duration>& __atime)
210 const chrono::time_point<system_clock, _Dur>& __atime)
223 return (system_clock::now() < __atime
246 using __clock_t = chrono::system_clock;
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dcondition_variable74 using system_clock = chrono::system_clock;
78 using __clock_t = system_clock;
125 const chrono::time_point<system_clock, _Duration>& __atime)
221 const chrono::time_point<system_clock, _Dur>& __atime)
235 return (system_clock::now() < __atime
258 using __clock_t = chrono::system_clock;
H A Dchrono1015 // Why have std::system_clock always count in the highest
1018 // implementations to change the system_clock::now()
1024 // defintions of system_clock, steady_clock, and
1038 struct system_clock
1043 typedef chrono::time_point<system_clock, duration> time_point;
1045 static_assert(system_clock::duration::min()
1046 < system_clock::duration::zero(),
1065 typedef chrono::time_point<system_clock, seconds> __from;
1066 return time_point_cast<system_clock::duration>
1096 * std::system_clock until higher-than-nanosecond definitions
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/src/support/win32/
H A Dthread_win32.cpp124 system_clock::time_point(duration_cast<system_clock::duration>(duration)); in __libcpp_condvar_timedwait()
125 auto timeout_ms = duration_cast<milliseconds>(abstime - system_clock::now()); in __libcpp_condvar_timedwait()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dchrono.h1204 struct system_clock in _GLIBCXX_VISIBILITY()
1209 typedef chrono::time_point<system_clock, duration> time_point; in _GLIBCXX_VISIBILITY()
1211 static_assert(system_clock::duration::min() in _GLIBCXX_VISIBILITY()
1212 < system_clock::duration::zero(), in _GLIBCXX_VISIBILITY()
1231 typedef chrono::time_point<system_clock, seconds> __from; in _GLIBCXX_VISIBILITY()
1232 return time_point_cast<system_clock::duration> in _GLIBCXX_VISIBILITY()
1266 using high_resolution_clock = system_clock; in _GLIBCXX_VISIBILITY()
1274 using sys_time = time_point<system_clock, _Duration>; in _GLIBCXX_VISIBILITY()
1283 template<> struct is_clock<system_clock> : true_type { }; in _GLIBCXX_VISIBILITY()
1287 template<> inline constexpr bool is_clock_v<system_clock> = true; in _GLIBCXX_VISIBILITY()
[all …]
H A Datomic_futex.h171 const chrono::time_point<std::chrono::system_clock, _Dur>& __atime) in _GLIBCXX_VISIBILITY()
249 const chrono::time_point<std::chrono::system_clock, _Duration>& __atime) in _GLIBCXX_VISIBILITY()
290 typedef chrono::system_clock __clock_t; in _GLIBCXX_VISIBILITY()
H A Datomic_timed_wait.h149 chrono::system_clock>::value); in _GLIBCXX_VISIBILITY()
180 if constexpr (is_same_v<_Clock, chrono::system_clock>) in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/
H A Dops-common.h259 inline std::chrono::system_clock::time_point in _GLIBCXX_VISIBILITY()
289 if (seconds{s} >= floor<seconds>(system_clock::duration::max())) in _GLIBCXX_VISIBILITY()
292 return system_clock::time_point::min(); in _GLIBCXX_VISIBILITY()
295 return system_clock::time_point{seconds{s} + ns}; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Datomic_futex.h67 typedef chrono::system_clock __clock_t; in _GLIBCXX_VISIBILITY()
220 typedef chrono::system_clock __clock_t; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/
H A Dops-common.h201 inline std::chrono::system_clock::time_point in _GLIBCXX_VISIBILITY()
234 return system_clock::time_point::min(); in _GLIBCXX_VISIBILITY()
237 return system_clock::time_point{seconds{s} + ns}; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DTimeProfiler.cpp78 : BeginningOfTime(system_clock::now()), StartTime(steady_clock::now()), in TimeTraceProfiler()
252 const time_point<system_clock> BeginningOfTime;
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DBuildSystem.cpp27 return llvm::sys::toTimeT(std::chrono::system_clock::now()); in clang_getBuildSessionTimestamp()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A D__mutex_base328 chrono::time_point<chrono::system_clock, chrono::nanoseconds>) _NOEXCEPT;
456 using __clock_tp_ns = time_point<system_clock, nanoseconds>;
457 …__ns_rep __now_count_ns = _VSTD::__safe_nanosecond_cast(system_clock::now().time_since_epoch()).co…
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dtimers.cc184 typedef std::chrono::system_clock Clock; in DateTimeString()

1234