14 double timestamp,
bool local);
20 #define Sleep(ms) usleep((ms) * 1000)
size_t format_timestamp(char *buffer, size_t len, const char *format, double timestamp, bool local)
convert timestamp to string with a given format
Definition: timing.c:86
double get_elapsed(void)
return elapsed time in seconds (with a "high-resolution" fractional part!)
Definition: timing.c:43
double get_timestamp(void)
return high-resolution timestamp in seconds since the Epoch (1970-01-01 00:00:00 UTC) ...
Definition: timing.c:73
boolean data type and constants/macros
double get_elapsed_ms(void)
return elapsed time in milliseconds (= 1000.0 * get_elapsed())
Definition: timing.c:63