aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/sys/unix/erl_unix_sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/unix/erl_unix_sys.h b/erts/emulator/sys/unix/erl_unix_sys.h
index 9f137048de..3a03d6be49 100644
--- a/erts/emulator/sys/unix/erl_unix_sys.h
+++ b/erts/emulator/sys/unix/erl_unix_sys.h
@@ -289,7 +289,7 @@ erts_os_times(ErtsMonotonicTime *mtimep, ErtsSystemTime *stimep)
} while(0)
#define SYS_PERF_COUNTER_UNIT erts_perf_counter_unit()
#else
-#define sys_perf_counter(ts) *(ts) = erts_get_perf_counter()
+#define sys_perf_counter(ts) *(ts) = erts_sys_hrtime()
#define SYS_PERF_COUNTER_UNIT 1000000000LL
#endif