diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-04-08 13:14:27 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-04-08 13:15:01 +0200 |
| commit | cf534d762754860ed5b714974f99acd282d48b3b (patch) | |
| tree | bf22341cedfb50ee7bcd4e15f85add2329783f31 /include/time.h | |
| parent | 630fcb1846aed16b9ab62bcf700f668883f4521f (diff) | |
Restructure into src/{std,json}/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'include/time.h')
| -rw-r--r-- | include/time.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/time.h b/include/time.h deleted file mode 100644 index 26bbf20..0000000 --- a/include/time.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include "types.h" - -typedef struct { - u64 s; - u64 ns; -} Time; - -typedef struct { - u64 s; - u64 ns; -} Duration; - -Time Time_get(); -f32 Time_ms(Time time); -Duration Time_diff(Time end, Time start); -f32 Duration_ms(Duration duration); -Duration Duration_from_ms(f32 ms); -Duration Duration_diff(Duration a, Duration b); |
