Home
last modified time | relevance | path

Searched refs:now_ns (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dclock.cc383 uint64_t now_cycles, uint64_t now_ns, uint64_t delta_cycles,
407 uint64_t now_ns =
430 UpdateLastSample(now_cycles, now_ns, delta_cycles, &sample);
441 static uint64_t UpdateLastSample(uint64_t now_cycles, uint64_t now_ns,
445 uint64_t estimated_base_ns = now_ns;
454 sample->raw_ns + static_cast<uint64_t>(5) * 1000 * 1000 * 1000 < now_ns ||
455 now_ns < sample->raw_ns || now_cycles < sample->base_cycles) {
457 time_state.last_sample.raw_ns.store(now_ns, std::memory_order_relaxed);
467 } else if (sample->raw_ns + 500 * 1000 * 1000 < now_ns &&
486 uint64_t ns = now_ns
[all...]
H A Dtime_test.cc384 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()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_pipe_sync.c153 uint64_t now_ns = os_time_get_nano(); in lvp_pipe_sync_wait_locked() local
155 if (now_ns >= abs_timeout_ns) in lvp_pipe_sync_wait_locked()
168 uint64_t rel_timeout_ns = abs_timeout_ns - now_ns; in lvp_pipe_sync_wait_locked()
186 * update now_ns, go back to the top of the loop, and re-check. in lvp_pipe_sync_wait_locked()
188 now_ns = os_time_get_nano(); in lvp_pipe_sync_wait_locked()
201 now_ns >= abs_timeout_ns ? 0 : abs_timeout_ns - now_ns; in lvp_pipe_sync_wait_locked()
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_sync_timeline.c434 uint64_t now_ns = os_time_get_nano(); in vk_sync_timeline_wait_locked() local
436 if (now_ns >= abs_timeout_ns) in vk_sync_timeline_wait_locked()
449 uint64_t rel_timeout_ns = abs_timeout_ns - now_ns; in vk_sync_timeline_wait_locked()
466 * update now_ns, go back to the top of the loop, and re-check. in vk_sync_timeline_wait_locked()
468 now_ns = os_time_get_nano(); in vk_sync_timeline_wait_locked()

Completed in 5 milliseconds