Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: increase precision of clocks in clock_time_get (#182)
This increases the precision of the UVWASI_CLOCK_PROCESS_CPUTIME_ID and UVWASI_CLOCK_THREAD_CPUTIME_ID clocks on Windows. The raw values from GetProcessTimes() and GetThreadTimes() are in units of 100 nanoseconds, which matches the reported resolution returned from uvwasi_clock_time_get().
- Loading branch information
Showing
1 changed file
with
5 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters