/* clock.h - monotonic time for measuring durations. * * Rule: wall clock (time(NULL)) is ONLY for values that must be wall * clock (Discord epoch timestamps, log stamps). Every duration/deadline * uses orbis_mono_s() so a clock jump can never break local timing. * * PS4: sceKernelGetProcessTime (microseconds, monotonic). * Host: clock_gettime(CLOCK_MONOTONIC). */ #ifndef ORBISRPC_CLOCK_H #define ORBISRPC_CLOCK_H #include /* Monotonic seconds (arbitrary epoch, never goes backward). */ int64_t orbis_mono_s(void); #endif