/dports/lang/zig-devel/zig-0.9.0/lib/std/ |
H A D | time.zig | 18 const big_ms_from_ns = nanoseconds / ns_per_ms; 68 return @intCast(i64, @divFloor(nanoTimestamp(), ns_per_ms)); 102 pub const ns_per_ms = 1000 * ns_per_us; 103 pub const ns_per_s = 1000 * ns_per_ms; 261 const margin = ns_per_ms * 50; 264 sleep(ns_per_ms); 273 const margin = ns_per_ms * 150; 276 sleep(10 * ns_per_ms);
|
H A D | Progress.zig | 49 refresh_rate_ns: u64 = 50 * std.time.ns_per_ms, 52 initial_delay_ns: u64 = 500 * std.time.ns_per_ms, 348 std.time.sleep(5 * std.time.ns_per_ms); 351 std.time.sleep(5 * std.time.ns_per_ms); 354 std.time.sleep(5 * std.time.ns_per_ms); 358 std.time.sleep(5 * std.time.ns_per_ms); 363 std.time.sleep(10 * std.time.ns_per_ms); 365 std.time.sleep(10 * std.time.ns_per_ms);
|
H A D | fmt.zig | 1393 .{ .ns = std.time.ns_per_ms, .sep = "ms" }, 1437 .{ .s = "999.999us", .d = std.time.ns_per_ms - 1 }, 1438 .{ .s = "1ms", .d = std.time.ns_per_ms + 1 }, 1439 .{ .s = "1.5ms", .d = 3 * std.time.ns_per_ms / 2 }, 1455 … .{ .s = "1y1h1ms", .d = 365 * std.time.ns_per_day + std.time.ns_per_hour + std.time.ns_per_ms }, 1497 .{ .s = "999.999us", .d = std.time.ns_per_ms - 1 }, 1498 .{ .s = "-999.999us", .d = -(std.time.ns_per_ms - 1) }, 1499 .{ .s = "1ms", .d = std.time.ns_per_ms + 1 }, 1500 .{ .s = "-1ms", .d = -(std.time.ns_per_ms + 1) }, 1501 .{ .s = "1.5ms", .d = 3 * std.time.ns_per_ms / 2 }, [all …]
|
/dports/lang/zig/zig-0.9.0/lib/std/ |
H A D | time.zig | 18 const big_ms_from_ns = nanoseconds / ns_per_ms; 68 return @intCast(i64, @divFloor(nanoTimestamp(), ns_per_ms)); 102 pub const ns_per_ms = 1000 * ns_per_us; 103 pub const ns_per_s = 1000 * ns_per_ms; 261 const margin = ns_per_ms * 50; 264 sleep(ns_per_ms); 273 const margin = ns_per_ms * 150; 276 sleep(10 * ns_per_ms);
|
H A D | Progress.zig | 49 refresh_rate_ns: u64 = 50 * std.time.ns_per_ms, 52 initial_delay_ns: u64 = 500 * std.time.ns_per_ms, 348 std.time.sleep(5 * std.time.ns_per_ms); 351 std.time.sleep(5 * std.time.ns_per_ms); 354 std.time.sleep(5 * std.time.ns_per_ms); 358 std.time.sleep(5 * std.time.ns_per_ms); 363 std.time.sleep(10 * std.time.ns_per_ms); 365 std.time.sleep(10 * std.time.ns_per_ms);
|
H A D | fmt.zig | 1393 .{ .ns = std.time.ns_per_ms, .sep = "ms" }, 1437 .{ .s = "999.999us", .d = std.time.ns_per_ms - 1 }, 1438 .{ .s = "1ms", .d = std.time.ns_per_ms + 1 }, 1439 .{ .s = "1.5ms", .d = 3 * std.time.ns_per_ms / 2 }, 1455 … .{ .s = "1y1h1ms", .d = 365 * std.time.ns_per_day + std.time.ns_per_hour + std.time.ns_per_ms }, 1497 .{ .s = "999.999us", .d = std.time.ns_per_ms - 1 }, 1498 .{ .s = "-999.999us", .d = -(std.time.ns_per_ms - 1) }, 1499 .{ .s = "1ms", .d = std.time.ns_per_ms + 1 }, 1500 .{ .s = "-1ms", .d = -(std.time.ns_per_ms + 1) }, 1501 .{ .s = "1.5ms", .d = 3 * std.time.ns_per_ms / 2 }, [all …]
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/freedreno/vulkan/ |
H A D | tu_fence.c | 245 const uint64_t ns_per_ms = 1000 * 1000; in tu_fence_get_poll_timeout() local 246 uint64_t timeout_ms = timeout_ns / ns_per_ms; in tu_fence_get_poll_timeout() 249 if (timeout_ns - timeout_ms * ns_per_ms >= ns_per_ms / 2) in tu_fence_get_poll_timeout()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/gl/ |
H A D | EGLUtils.cpp | 100 const uint64_t ns_per_ms = 1000 * 1000; in ClientWaitSync() local 101 EGLTime timeout = 1000 * ns_per_ms; in ClientWaitSync()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/gl/ |
H A D | EGLUtils.cpp | 81 const uint64_t ns_per_ms = 1000 * 1000; in ClientWaitSync() local 82 EGLTime timeout = 1000 * ns_per_ms; in ClientWaitSync()
|
/dports/games/3omns/3omns-0.2/n3/ |
H A D | proto.c | 57 const long ns_per_ms = 1000000; in add_time_ms() local 60 ts->tv_nsec += ms * ns_per_ms; in add_time_ms()
|
/dports/lang/zig/zig-0.9.0/lib/std/Thread/ |
H A D | ResetEvent.zig | 262 time.sleep(time.ns_per_ms * 2); 270 try self.out.timedWait(time.ns_per_ms * 100);
|
H A D | StaticResetEvent.zig | 368 time.sleep(time.ns_per_ms * 2); 376 try self.out.timedWait(time.ns_per_ms * 100);
|
/dports/lang/zig-devel/zig-0.9.0/lib/std/Thread/ |
H A D | ResetEvent.zig | 262 time.sleep(time.ns_per_ms * 2); 270 try self.out.timedWait(time.ns_per_ms * 100);
|
H A D | StaticResetEvent.zig | 368 time.sleep(time.ns_per_ms * 2); 376 try self.out.timedWait(time.ns_per_ms * 100);
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/lang/clover/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 850 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 851 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 874 const uint64_t ns_per_ms = 1000000; in timeout_to_poll_timeout() local 875 const uint64_t ms = (timeout + ns_per_ms - 1) / ns_per_ms; in timeout_to_poll_timeout()
|
/dports/lang/zig-devel/zig-0.9.0/lib/std/event/ |
H A D | batch.zig | 126 std.time.sleep(1 * std.time.ns_per_ms);
|