shithub: sl

ref: 49b1e6601e8e847b79321811f0e78db3bdd2b9ba
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);