shithub: sl

ref: 31e59bb74dcaa3273e93a6585e902df407f17ac6
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);