Show timestamps when loading rewind states

This commit is contained in:
Henrik Rydgård committed 2026-05-19 11:58:01 +02:00
1 parent 8dad5a5c57
commit c20d20ccba
5 files changed
+116 -18

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ double from_time_raw_relative(uint64_t raw_time);
// Seconds, Unix UTC time
double time_now_unix_utc();
double time_to_unix_utc(double timeNowSeconds);
// Sleep for milliseconds. Does not necessarily have millisecond granularity, especially on Windows.
// Requires a "reason" since sleeping generally should be very sparingly used. This
@@ -33,6 +34,7 @@ void sleep_random(double minSeconds, double maxSeconds, const char *reason);
void yield();
void GetCurrentTimeFormatted(char formattedTime[13]);
void FormatUnixTime(double unixTimeSeconds, char *formatted, size_t bufSize, bool includeDate = true);
// Most accurate timer possible - no extra double conversions. Only for spans.
class Instant {