| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-12-05 | Reapply "[libc][windows] start time API implementation (#117775)" (#118886) | Schrodinger ZHU Yifan | |
| 2024-07-16 | [libc] Implement `clock_gettime` for the monotonic clock on the GPU (#99067) | Joseph Huber | |
| Summary: This patch implements `clock_gettime` using the monotonic clock. This allows users to get time elapsed at nanosecond resolution. This is primarily to facilitate compiling the `chrono` library from `libc++`. For this reason we provide both `CLOCK_MONOTONIC`, which we can implement with the GPU's global fixed-frequency clock, and `CLOCK_REALTIME` which we cannot. The latter is provided just to make people who use this header happy and it will always return failure. | |||
