update parallel rdp

This commit is contained in:
Logan McNaughton committed 2024-08-25 16:51:49 +02:00
1 parent 80376fafd5
commit 4f239cbc7d
21 files changed
+49460 -54257

No files matched your search

+2 -2
View File
@@ -107,7 +107,7 @@ int64_t get_current_time_nsecs()
return int64_t(double(li.QuadPart) * static_qpc_freq.inv_freq);
#else
struct timespec ts = {};
#ifdef ANDROID
#if defined(ANDROID) || defined(__FreeBSD__)
constexpr auto timebase = CLOCK_MONOTONIC;
#else
constexpr auto timebase = CLOCK_MONOTONIC_RAW;
@@ -128,4 +128,4 @@ double Timer::end()
auto nt = get_current_time_nsecs();
return double(nt - t) * 1e-9;
}
}
}