aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-07-15 13:56:58 +0200
committerLukas Larsson <[email protected]>2016-02-02 10:45:21 +0100
commit2181f97655906dac3b18333c149c384e1dc81c2b (patch)
tree93ee9e84f9e799198c6a6e8d8a9b7398c3e0f08f /erts/emulator/sys
parent49458ee51bbbdcb06d776a846ce61a4eb274df04 (diff)
downloadotp-2181f97655906dac3b18333c149c384e1dc81c2b.tar.gz
otp-2181f97655906dac3b18333c149c384e1dc81c2b.tar.bz2
otp-2181f97655906dac3b18333c149c384e1dc81c2b.zip
erts: Fix hrtime for windows
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r--erts/emulator/sys/win32/sys_time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/sys/win32/sys_time.c b/erts/emulator/sys/win32/sys_time.c
index 9e5f78703a..3b4fd26d63 100644
--- a/erts/emulator/sys/win32/sys_time.c
+++ b/erts/emulator/sys/win32/sys_time.c
@@ -397,6 +397,7 @@ sys_init_time(ErtsSysInitTimeResult *init_resp)
erts_sys_time_data__.r.o.os_monotonic_time = os_mtime_func;
erts_sys_time_data__.r.o.os_times = os_times_func;
+ erts_sys_time_data__.r.o.sys_hrtime = sys_hrtime_func;
init_resp->os_monotonic_time_unit = time_unit;
init_resp->have_os_monotonic_time = 1;
init_resp->have_corrected_os_monotonic_time = 0;