[common/client] platform: abstract runtime services

This commit is contained in:
Geoffrey McRae
2026-09-12 12:51:17 +10:00
parent a7d2e4592f
commit eabc56a6de
49 changed files with 4064 additions and 940 deletions

View File

@@ -66,11 +66,9 @@ static struct LG_Transport tr;
struct AppState g_state;
int clock_gettime(clockid_t id, struct timespec * ts)
uint64_t testNanotime(void)
{
ts->tv_sec = t.now / UINT64_C(1000000000);
ts->tv_nsec = t.now % UINT64_C(1000000000);
return 0;
return t.now;
}
static bool getPeriod(uint64_t * period)