shithub: sl

ref: 4d79d1ed7c483fc45687e94ffc5c6568d78e916c
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);