shithub: sl

ref: 538d930befd24d2f826bb4586bd7117d201d2be5
dir: /src/timefuncs.h/

View raw version
#pragma once

double sec_realtime(void);
uint64_t nanosec_monotonic(void);
void timestring(double s, char *buf, int sz);
double parsetime(const char *s);
void sleep_ms(int ms);