| #
f9c2377f |
| 08-Jan-2025 |
Michael Jones <michaelrj@google.com> |
[libc][NFC] Cleanup time.h (#122027)
While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the
[libc][NFC] Cleanup time.h (#122027)
While working on strftime I noticed some constants were being defined in unexpected places. One thing led to another, and I ended up doing a major cleanup of the time functions.
What's included: All uses of <time.h> in /src and /test removed (except for LibcTest.cpp) The various time constants have been moved to time_constants.h, and the `time_constants` namespace. struct tm gets its own type indirection header now.
show more ...
|
| #
0adff0af |
| 05-Dec-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc][windows] start time API implementation (#117775)
Add a `clock_gettime` emulation layer and use it to implement the `time` entrypoint.
For windows, the monotonic clock is emulated using `QPC`
[libc][windows] start time API implementation (#117775)
Add a `clock_gettime` emulation layer and use it to implement the `time` entrypoint.
For windows, the monotonic clock is emulated using `QPC`. The realtime clock is emulated using `GetSystemTimePreciseAsFileTime`.
show more ...
|