Searched refs:now_ns (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/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()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pipe_sync.c | 153 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() 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/ |
D | vk_sync_timeline.c | 434 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() 468 now_ns = os_time_get_nano(); in vk_sync_timeline_wait_locked()
|