From 460e3376a4df121e34347a7c901e0ef1413fcc82 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 25 Sep 2018 13:40:53 +0200 Subject: Use monotonic clock for get_ticks_usec Static _clock_start and _clock_setup function. Use clock_gettime on Unix, mach_absolute_time on Mac. --- drivers/unix/os_unix.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/unix/os_unix.h') diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index f4abfa2dd4..b702454603 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -42,8 +42,6 @@ class OS_Unix : public OS { - uint64_t ticks_start; - protected: // UNIX only handles the core functions. // inheriting platforms under unix (eg. X11) should handle the rest -- cgit v1.2.3