shithub: sl

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