Home
last modified time | relevance | path

Searched refs:ns_per_ms (Results 1 – 25 of 46) sorted by relevance

12

/dports/lang/zig-devel/zig-0.9.0/lib/std/
H A Dtime.zig18 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 DProgress.zig49 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 Dfmt.zig1393 .{ .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 Dtime.zig18 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 DProgress.zig49 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 Dfmt.zig1393 .{ .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 Dtu_fence.c245 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 DEGLUtils.cpp100 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 DEGLUtils.cpp81 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 Dproto.c57 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 DResetEvent.zig262 time.sleep(time.ns_per_ms * 2);
270 try self.out.timedWait(time.ns_per_ms * 100);
H A DStaticResetEvent.zig368 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 DResetEvent.zig262 time.sleep(time.ns_per_ms * 2);
270 try self.out.timedWait(time.ns_per_ms * 100);
H A DStaticResetEvent.zig368 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c850 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 Dvn_renderer_vtest.c874 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 Dbatch.zig126 std.time.sleep(1 * std.time.ns_per_ms);

12