From 2415278efee10c02135b517f2f67edfc197f2029 Mon Sep 17 00:00:00 2001 From: Ketasaja Date: Tue, 13 Aug 2024 23:45:09 +0000 Subject: [PATCH] Change in lperf.cpp --- VM/src/lperf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VM/src/lperf.cpp b/VM/src/lperf.cpp index b7293c14..53293307 100644 --- a/VM/src/lperf.cpp +++ b/VM/src/lperf.cpp @@ -45,7 +45,7 @@ static double clock_timestamp() return double(result.QuadPart); #elif defined(__APPLE__) return double(mach_absolute_time()); -#elif defined(__linux__) +#elif defined(__linux__) || defined(__FreeBSD__) timespec now; clock_gettime(CLOCK_MONOTONIC, &now); return now.tv_sec * 1e9 + now.tv_nsec;