diff options
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; |
