mirror of
https://github.com/simple64/simple64.git
synced 2026-11-02 04:36:09 +01:00
update parallel rdp
This commit is contained in:
1 parent
80376fafd5
commit
4f239cbc7d
21 files changed
+49460
-54257
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user