/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/ |
D | clock.cc | 378 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles, 402 uint64_t now_ns = GetCurrentTimeNanosFromKernel(last_now_cycles, &now_cycles); in GetCurrentTimeNanosSlowPath() local 424 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample); in GetCurrentTimeNanosSlowPath() 435 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns, in UpdateLastSample() argument 439 uint64_t estimated_base_ns = now_ns; in UpdateLastSample() 447 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns || in UpdateLastSample() 448 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) { in UpdateLastSample() 450 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample() 456 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns && in UpdateLastSample() 475 uint64_t ns = now_ns - sample->raw_ns; in UpdateLastSample() [all …]
|
D | time_test.cc | 384 int64_t now_ns = absl::GetCurrentTimeNanos(); in TEST() local 391 TEST_CONVERSION_ROUND_TRIP(now_ns, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 393 << now_ns; in TEST()
|
/external/openscreen/third_party/abseil/src/absl/time/ |
D | clock.cc | 376 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles, 400 uint64_t now_ns = GetCurrentTimeNanosFromKernel(last_now_cycles, &now_cycles); in GetCurrentTimeNanosSlowPath() local 422 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample); in GetCurrentTimeNanosSlowPath() 433 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns, in UpdateLastSample() argument 437 uint64_t estimated_base_ns = now_ns; in UpdateLastSample() 445 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns || in UpdateLastSample() 446 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) { in UpdateLastSample() 448 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample() 454 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns && in UpdateLastSample() 473 uint64_t ns = now_ns - sample->raw_ns; in UpdateLastSample() [all …]
|
D | time_test.cc | 384 int64_t now_ns = absl::GetCurrentTimeNanos(); in TEST() local 391 TEST_CONVERSION_ROUND_TRIP(now_ns, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 393 << now_ns; in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/time/ |
D | clock.cc | 378 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles, 402 uint64_t now_ns = GetCurrentTimeNanosFromKernel(last_now_cycles, &now_cycles); in GetCurrentTimeNanosSlowPath() local 424 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample); in GetCurrentTimeNanosSlowPath() 435 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns, in UpdateLastSample() argument 439 uint64_t estimated_base_ns = now_ns; in UpdateLastSample() 447 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns || in UpdateLastSample() 448 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) { in UpdateLastSample() 450 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample() 456 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns && in UpdateLastSample() 475 uint64_t ns = now_ns - sample->raw_ns; in UpdateLastSample() [all …]
|
D | time_test.cc | 384 int64_t now_ns = absl::GetCurrentTimeNanos(); in TEST() local 391 TEST_CONVERSION_ROUND_TRIP(now_ns, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 393 << now_ns; in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/time/ |
D | clock.cc | 378 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles, 402 uint64_t now_ns = GetCurrentTimeNanosFromKernel(last_now_cycles, &now_cycles); in GetCurrentTimeNanosSlowPath() local 424 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample); in GetCurrentTimeNanosSlowPath() 435 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns, in UpdateLastSample() argument 439 uint64_t estimated_base_ns = now_ns; in UpdateLastSample() 447 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns || in UpdateLastSample() 448 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) { in UpdateLastSample() 450 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample() 456 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns && in UpdateLastSample() 475 uint64_t ns = now_ns - sample->raw_ns; in UpdateLastSample() [all …]
|
D | time_test.cc | 381 int64_t now_ns = absl::GetCurrentTimeNanos(); in TEST() local 388 TEST_CONVERSION_ROUND_TRIP(now_ns, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 390 << now_ns; in TEST()
|
/external/abseil-cpp/absl/time/ |
D | clock.cc | 378 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles, 402 uint64_t now_ns = GetCurrentTimeNanosFromKernel(last_now_cycles, &now_cycles); in GetCurrentTimeNanosSlowPath() local 424 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample); in GetCurrentTimeNanosSlowPath() 435 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns, in UpdateLastSample() argument 439 uint64_t estimated_base_ns = now_ns; in UpdateLastSample() 447 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns || in UpdateLastSample() 448 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) { in UpdateLastSample() 450 last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample() 456 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns && in UpdateLastSample() 475 uint64_t ns = now_ns - sample->raw_ns; in UpdateLastSample() [all …]
|
D | time_test.cc | 381 int64_t now_ns = absl::GetCurrentTimeNanos(); in TEST() local 388 TEST_CONVERSION_ROUND_TRIP(now_ns, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 390 << now_ns; in TEST()
|
/external/angle/third_party/abseil-cpp/absl/time/ |
D | clock.cc | 383 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles, 407 uint64_t now_ns = in GetCurrentTimeNanosSlowPath() local 430 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample); in GetCurrentTimeNanosSlowPath() 441 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns, in UpdateLastSample() argument 445 uint64_t estimated_base_ns = now_ns; in UpdateLastSample() 454 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns || in UpdateLastSample() 455 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) { in UpdateLastSample() 457 time_state.last_sample.raw_ns.store(now_ns, std::memory_order_relaxed); in UpdateLastSample() 467 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns && in UpdateLastSample() 486 uint64_t ns = now_ns - sample->raw_ns; in UpdateLastSample() [all …]
|
D | time_test.cc | 384 int64_t now_ns = absl::GetCurrentTimeNanos(); in TEST() local 391 TEST_CONVERSION_ROUND_TRIP(now_ns, absl::FromUnixNanos, absl::ToUnixNanos, in TEST() 393 << now_ns; in TEST()
|
/external/webrtc/modules/video_capture/ |
D | video_capture_impl.cc | 255 uint32_t VideoCaptureImpl::CalculateFrameRate(int64_t now_ns) { in CalculateFrameRate() argument 260 (now_ns - _incomingFrameTimesNanos[num]) / in CalculateFrameRate() 269 int64_t diff = (now_ns - _incomingFrameTimesNanos[num - 1]) / in CalculateFrameRate()
|
D | video_capture_impl.h | 87 uint32_t CalculateFrameRate(int64_t now_ns);
|
/external/igt-gpu-tools/tests/ |
D | kms_vrr.c | 268 uint64_t now_ns, vblank_ns, wait_ns, target_ns; in flip_and_measure() local 291 now_ns = get_time_ns(); in flip_and_measure() 292 if (now_ns - start_ns > duration_ns) in flip_and_measure() 300 diff_ns = now_ns - start_ns; in flip_and_measure()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 1385 int64_t now_ns = base::GetBootTimeNs().count(); in ActivateTriggers() local 1394 PurgeExpiredAndCountTriggerInWindow(now_ns, trigger_name_hash); in ActivateTriggers() 1447 {static_cast<uint64_t>(now_ns), iter->name(), producer->name_, in ActivateTriggers() 1508 trigger_history_.emplace_back(TriggerHistory{now_ns, trigger_name_hash}); in ActivateTriggers() 3254 int64_t now_ns, in PurgeExpiredAndCountTriggerInWindow() argument 3261 if (h.timestamp_ns < now_ns - trigger_window_ns_) { in PurgeExpiredAndCountTriggerInWindow()
|
D | tracing_service_impl.h | 659 size_t PurgeExpiredAndCountTriggerInWindow(int64_t now_ns,
|