9 lines · 252 B · C
RawDownload
#pragma once #define Nsec 1000000000ULL u64int sec_realtime(void);u64int nanosec_monotonic(void);void timestr(u64int ns, char *buf, int sz) sl_nonnull(2) sl_wr(2, 3);u64int parsetime(const char *s) sl_cstr(1) sl_nonnull(1);void sleep_ms(int ms);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t