Files
reims-vgpu/crates
Anees Iqbal b4b4be76d9 🆕 Read the clocks on Windows, as macOS answers them
The first piece of the Vulkan platform's OS module for Windows, which the
port needs for the library to run there (os/windows.rs, built on Windows
alone; the module's other services follow in their own commits).

WindowsClock is core's Clock:
- The monotonic clock is the interrupt time (QueryInterruptTimePrecise,
  100 ns units). It counts the time the host sleeps, as macOS's
  CLOCK_MONOTONIC_RAW and Linux's CLOCK_BOOTTIME do.
- The wall clock is GetSystemTimePreciseAsFileTime, in nanoseconds since
  the Unix epoch.
- Timed waits answer as libc++'s do on macOS, read on the deadline's own
  clock, as LinuxClock's do.

Linux and macOS build nothing new.
2026-11-15 06:19:49 -08:00
..