summaryrefslogtreecommitdiff
path: root/libc/src/time/gpu/timespec_get.cpp
AgeCommit message (Collapse)Author
2024-12-17[libc] Enable 'timespec_get' for the GPU build (#120304)Joseph Huber
Summary: Currently fails to build libc++ because this is missing.
2024-12-02[libc] Implement `timespec_get` (#116102)Petr Hosek
`timespec_get` is C standard counterpart to POSIX `clock_gettime`. On Linux we simply use `clock_gettime`. On baremetal we introduce a new external API `__llvm_libc_timespec_get_utc` that should be implemented by the vendor.