The way to Unity, pt.2 (#1671)

This commit is contained in:
Daniel R. 2024-12-06 22:04:36 +01:00 committed by GitHub
parent 357b7829c3
commit 7ffa581d4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 311 additions and 28 deletions

View file

@ -23,6 +23,8 @@ void SetCurrentThreadPriority(ThreadPriority new_priority);
void SetCurrentThreadName(const char* name);
void SetThreadName(void* thread, const char* name);
class AccurateTimer {
std::chrono::nanoseconds target_interval{};
std::chrono::nanoseconds total_wait{};