diff options
| author | Ada Christine <adachristine18@gmail.com> | 2022-03-14 14:20:34 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2022-03-14 20:59:18 +0000 |
| commit | 73e5768d3a159b2e9b554fa5396a759f3d283c6c (patch) | |
| tree | 1ac5a51e6d9d02377bced4ed55bea97087a4e1dd /kc/core/timer.h | |
| parent | 54ba636ecc8cbd44776c998a68a666b0b6f6abae (diff) | |
some updates to page handling
whoops
squash me
Diffstat (limited to 'kc/core/timer.h')
| -rw-r--r-- | kc/core/timer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kc/core/timer.h b/kc/core/timer.h index b41aa35..5a30747 100644 --- a/kc/core/timer.h +++ b/kc/core/timer.h @@ -1,4 +1,5 @@ #pragma once + #include <stdint.h> #define TIMER_MILLISECOND 1000ULL @@ -7,6 +8,9 @@ typedef int (*timer_callback)(uint64_t nanoseconds); +typedef uint64_t kc_time_stamp; +typedef uint64_t kc_time_delta; + struct timer_callback_list { timer_callback func; |
