nanahi
aff376e066
win32: increase hires timer resolution
...
timeBeginPeriod() only allows setting minimum timer resolution
to 1 ms. However, modern x86 platforms support a minimum timer
resolution of 0.5 ms. Use NtSetTimerResolution() instead for
the increased resolution, which can be set with MPV_HRT_RES.
Additionally, change the units of mp_start_hires_timers(),
mp_end_hires_timer(), MPV_HRT_RES, and MPV_HRT_MAX to nanoseconds,
in accordance with other functions used in timer.h.
2024-03-19 20:23:25 +01:00
..
2020-05-15 16:37:41 +02:00
2024-03-18 20:29:27 +01:00
2023-11-08 20:26:23 +01:00
2018-02-13 20:16:01 -08:00
2024-03-19 19:58:09 +01:00
2024-03-19 19:58:09 +01:00
2024-02-28 15:52:47 +01:00
2023-07-25 11:34:06 +02:00
2023-06-25 11:01:58 +02:00
2024-02-28 15:52:47 +01:00
2024-03-19 08:58:18 +01:00
2023-12-22 16:36:31 +01:00
2023-07-31 19:00:06 +00:00
2023-11-05 17:36:17 +00:00
2024-02-28 15:52:47 +01:00
2023-11-05 17:36:17 +00:00
2023-12-27 22:55:56 +01:00
2023-12-27 22:55:56 +01:00
2024-02-28 15:52:47 +01:00
2023-11-09 21:31:58 +00:00
2023-10-10 19:10:55 +00:00
2024-02-28 15:52:47 +01:00
2024-02-21 20:46:53 +01:00
2018-08-20 17:16:22 +02:00
2020-07-20 21:02:17 +02:00
2024-02-11 14:13:22 +01:00
2024-02-11 04:01:24 +00:00
2023-11-05 17:36:17 +00:00
2020-08-16 02:54:44 +02:00
2024-03-19 19:58:09 +01:00
2024-01-15 10:39:42 +01:00
2024-03-19 19:58:09 +01:00
2024-03-19 19:58:09 +01:00
2023-11-05 17:36:17 +00:00
2024-03-19 08:58:18 +01:00
2024-03-19 20:23:25 +01:00
2023-11-06 04:14:49 +00:00
2023-10-10 19:10:55 +00:00
2023-11-08 04:32:10 +00:00
2024-03-19 20:23:25 +01:00
2023-11-05 17:36:17 +00:00
2024-03-19 20:23:25 +01:00
2024-02-28 15:52:47 +01:00
2024-02-28 15:52:47 +01:00
2023-12-06 11:07:37 +01:00
2024-03-19 19:56:25 +01:00
2024-03-19 11:34:00 +01:00
2024-03-19 11:34:00 +01:00