Home
last modified time | relevance | path

Searched refs:Now (Results 1 – 25 of 1294) sorted by relevance

12345678910>>...52

/third_party/boost/libs/icl/test/
Dtest_type_lists.hpp58 ,Now::time_point
59 ,boch::time_point<Now, boch::duration<double> >
72 typedef boch::time_point<Now, duration_int_11_113s > Now_time_int_11_113s;
73 typedef boch::time_point<Now, boch::duration<double> > Now_time_double;
74 typedef boch::time_point<Now, boch::duration<boost::rational<int> > > Now_time_rational;
75 … typedef boch::time_point<Now, duration_rational_101_997s > Now_time_rational_101_997s;
79 typedef Now::time_point bicremental_type_3;
107 ,Now::time_point
114 typedef Now::time_point signed_bicremental_type_3;
138 ,boch::time_point<Now, boch::duration<double> >
[all …]
/third_party/flutter/engine/flutter/fml/
Dmessage_loop_task_queues_merge_unmerge_unittests.cc34 queue_id_1, []() {}, fml::TimePoint::Now()); in TEST()
39 queue_id_1, []() {}, fml::TimePoint::Now()); in TEST()
53 queue_id_2, []() {}, fml::TimePoint::Now()); in TEST()
68 queue_id_1, []() {}, fml::TimePoint::Now()); in TEST()
70 queue_id_2, []() {}, fml::TimePoint::Now()); in TEST()
126 queue_id_1, []() {}, fml::TimePoint::Now()); in TEST()
153 queue_id_1, []() {}, fml::TimePoint::Now()); in TEST()
155 queue_id_2, []() {}, fml::TimePoint::Now()); in TEST()
179 queue_id_1, []() {}, fml::TimePoint::Now()); in TEST()
Dmessage_loop_unittests.cc117 fml::TimePoint::Now() + fml::TimeDelta::FromMilliseconds(2); in TEST()
160 auto begin = fml::TimePoint::Now(); in TEST()
163 auto delta = fml::TimePoint::Now() - begin; in TEST()
182 auto begin = fml::TimePoint::Now(); in TEST()
185 auto delta = fml::TimePoint::Now() - begin; in TEST()
192 fml::TimePoint::Now() + fml::TimeDelta::FromMilliseconds(5)); in TEST()
206 auto begin = fml::TimePoint::Now(); in TEST()
209 auto delta = fml::TimePoint::Now() - begin; in TEST()
233 auto begin = fml::TimePoint::Now(); in TEST()
236 auto delta = fml::TimePoint::Now() - begin; in TEST()
Dmessage_loop_task_queues_unittests.cc52 queue_id, [] {}, fml::TimePoint::Now()); in TEST()
66 queue_id, [&test_val]() { test_val = 1; }, fml::TimePoint::Now()); in TEST()
70 queue_id, [&test_val]() { test_val = 2; }, fml::TimePoint::Now()); in TEST()
120 queue_id, []() {}, fml::TimePoint::Now()); in TEST()
143 const auto now = fml::TimePoint::Now(); in TEST()
203 fml::TaskQueueId(cur_q), [] {}, fml::TimePoint::Now()); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dunscaledcycleclock.cc40 int64_t UnscaledCycleClock::Now() { in Now() function in absl::base_internal::UnscaledCycleClock
52 int64_t UnscaledCycleClock::Now() {
64 int64_t UnscaledCycleClock::Now() {
110 int64_t UnscaledCycleClock::Now() {
126 int64_t UnscaledCycleClock::Now() { return __rdtsc(); }
Dcycleclock.cc74 int64_t CycleClock::Now() { in Now() function in absl::base_internal::CycleClock
77 return base_internal::UnscaledCycleClock::Now() >> kShift; in Now()
93 int64_t CycleClock::Now() {
/third_party/abseil-cpp/absl/base/internal/
Dunscaledcycleclock.cc40 int64_t UnscaledCycleClock::Now() { in Now() function in absl::base_internal::UnscaledCycleClock
52 int64_t UnscaledCycleClock::Now() {
64 int64_t UnscaledCycleClock::Now() {
110 int64_t UnscaledCycleClock::Now() {
126 int64_t UnscaledCycleClock::Now() {
Dcycleclock.cc74 int64_t CycleClock::Now() { in Now() function in absl::base_internal::CycleClock
77 return base_internal::UnscaledCycleClock::Now() >> kShift; in Now()
93 int64_t CycleClock::Now() {
/third_party/abseil-cpp/absl/time/
Dclock_test.cc30 TEST(Time, Now) { in TEST() argument
32 const absl::Time now = absl::Now(); in TEST()
55 const absl::Time deadline = absl::Now() + timeout; in SleepForBounded()
56 while (absl::Now() < deadline) { in SleepForBounded()
68 absl::Time start = absl::Now(); in SleepForBounded()
70 absl::Duration actual = absl::Now() - start; in SleepForBounded()
Dclock_benchmark.cc30 benchmark::DoNotOptimize(absl::Now()); in BM_Clock_Now_AbslTime()
44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
51 benchmark::DoNotOptimize(absl::base_internal::CycleClock::Now()); in BM_Clock_Now_CycleClock()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dclock_test.cc30 TEST(Time, Now) { in TEST() argument
32 const absl::Time now = absl::Now(); in TEST()
55 const absl::Time deadline = absl::Now() + timeout; in SleepForBounded()
56 while (absl::Now() < deadline) { in SleepForBounded()
68 absl::Time start = absl::Now(); in SleepForBounded()
70 absl::Duration actual = absl::Now() - start; in SleepForBounded()
Dclock_benchmark.cc30 benchmark::DoNotOptimize(absl::Now()); in BM_Clock_Now_AbslTime()
44 benchmark::DoNotOptimize(absl::ToUnixNanos(absl::Now())); in BM_Clock_Now_AbslTime_ToUnixNanos()
51 benchmark::DoNotOptimize(absl::base_internal::CycleClock::Now()); in BM_Clock_Now_CycleClock()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem_test.cc97 KernelTimeout(absl::Now() + absl::Seconds(10000)) // far in the future in TestTiming()
112 int64_t cycles = base_internal::CycleClock::Now(); in TestTiming()
115 cycles = base_internal::CycleClock::Now() - cycles; in TestTiming()
157 const absl::Time start = absl::Now(); in TEST_F()
159 const absl::Duration elapsed = absl::Now() - start; in TEST_F()
169 EXPECT_LE(negative_timeout, absl::Now() + slop); // trivially true :) in TEST_F()
/third_party/abseil-cpp/absl/synchronization/internal/
Dper_thread_sem_test.cc97 KernelTimeout(absl::Now() + absl::Seconds(10000)) // far in the future in TestTiming()
112 int64_t cycles = base_internal::CycleClock::Now(); in TestTiming()
115 cycles = base_internal::CycleClock::Now() - cycles; in TestTiming()
157 const absl::Time start = absl::Now(); in TEST_F()
159 const absl::Duration elapsed = absl::Now() - start; in TEST_F()
169 EXPECT_LE(negative_timeout, absl::Now() + slop); // trivially true :) in TEST_F()
/third_party/grpc/test/cpp/common/
Dtimer_test.cc85 grpc_timer_init(&timer, grpc_core::ExecCtx::Get()->Now() + 500, in TEST_F()
110 grpc_timer_init(&timers[i], grpc_core::ExecCtx::Get()->Now() + 500 + i, in TEST_F()
137 grpc_timer_init(&timers[i], grpc_core::ExecCtx::Get()->Now() + 500 + i, in TEST_F()
168 grpc_timer_init(&timer, grpc_core::ExecCtx::Get()->Now() + 10000, in TEST_F()
182 grpc_timer_init(&timers[i], grpc_core::ExecCtx::Get()->Now() + 100, in TEST_F()
212 grpc_timer_init(&timers[i], grpc_core::ExecCtx::Get()->Now() + 100, in TEST_F()
/third_party/boost/libs/icl/test/chrono/
Dutility.hpp17 class Now // A trivial test clock class
23 typedef boost::chrono::time_point<Now> time_point;
31 struct clock_string<Now, CharT>
/third_party/ninja/src/
Dmetrics.h73 return 1e-6 * static_cast<double>(Now() - started_); in Elapsed()
76 void Restart() { started_ = Now(); } in Restart()
80 uint64_t Now() const;
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dnotification_test.cc73 EXPECT_FALSE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests()
76 const absl::Time start = absl::Now(); in BasicTests()
78 const absl::Duration elapsed = absl::Now() - start; in BasicTests()
118 EXPECT_TRUE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests()
/third_party/abseil-cpp/absl/synchronization/
Dnotification_test.cc73 EXPECT_FALSE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests()
76 const absl::Time start = absl::Now(); in BasicTests()
78 const absl::Duration elapsed = absl::Now() - start; in BasicTests()
118 EXPECT_TRUE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests()
/third_party/grpc/tools/http2_interop/
Dhttp2interop.go100 conn.SetDeadline(time.Now().Add(defaultTimeout))
131 conn.SetDeadline(time.Now().Add(defaultTimeout))
160 conn.SetDeadline(time.Now().Add(defaultTimeout))
214 conn.SetDeadline(time.Now().Add(defaultTimeout))
235 conn.SetDeadline(time.Now().Add(defaultTimeout))
260 conn.SetDeadline(time.Now().Add(defaultTimeout))
298 conn.SetDeadline(time.Now().Add(defaultTimeout))
391 conn.SetDeadline(time.Now().Add(defaultTimeout))
/third_party/flutter/engine/flutter/fml/time/
Dtime_unittest.cc14 TEST(Time, Now) { in TEST() argument
15 auto start = TimePoint::Now(); in TEST()
17 auto now = TimePoint::Now(); in TEST()
Dtime_point_unittest.cc13 EXPECT_LT(TimePoint::Min(), TimePoint::Now()); in TEST()
14 EXPECT_GT(TimePoint::Max(), TimePoint::Now()); in TEST()
/third_party/flutter/engine/flutter/fml/synchronization/
Dwaitable_event.cc31 TimePoint start = TimePoint::Now(); in WaitWithTimeoutImpl()
43 TimePoint now = TimePoint::Now(); in WaitWithTimeoutImpl()
85 TimePoint start = TimePoint::Now(); in WaitWithTimeout()
97 TimePoint now = TimePoint::Now(); in WaitWithTimeout()
/third_party/grpc/test/cpp/qps/
Dclient_sync.cc127 double start = UsageTimer::Now(); in ThreadFuncImpl()
133 entry->set_value((UsageTimer::Now() - start) * 1e9); in ThreadFuncImpl()
247 double start = UsageTimer::Now(); in ThreadFuncImpl()
250 entry->set_value((UsageTimer::Now() - start) * 1e9); in ThreadFuncImpl()
298 last_issue_[thread_idx] = UsageTimer::Now(); in InitThreadFuncImpl()
309 double now = UsageTimer::Now(); in ThreadFuncImpl()
348 last_recv_[thread_idx] = UsageTimer::Now(); in InitThreadFuncImpl()
355 double now = UsageTimer::Now(); in ThreadFuncImpl()
/third_party/grpc/test/core/backoff/
Dbackoff_test.cc49 EXPECT_EQ(next_attempt_start_time - grpc_core::ExecCtx::Get()->Now(), in TEST()
53 EXPECT_EQ(next_attempt_start_time - grpc_core::ExecCtx::Get()->Now(), in TEST()
71 EXPECT_EQ(next - grpc_core::ExecCtx::Get()->Now(), initial_backoff); in TEST()
145 EXPECT_EQ(next - grpc_core::ExecCtx::Get()->Now(), initial_backoff); in TEST()
156 const grpc_millis timeout_millis = next - grpc_core::ExecCtx::Get()->Now(); in TEST()

12345678910>>...52