aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/timer/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/timer/timer.h')
-rw-r--r--src/kernel/timer/timer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/timer/timer.h b/src/kernel/timer/timer.h
index 635c996..309896a 100644
--- a/src/kernel/timer/timer.h
+++ b/src/kernel/timer/timer.h
@@ -12,4 +12,10 @@ void timer_install();
*/
void timer_wait(int ticks);
+/**
+ * Get the current timer ticks
+ * @return The current timer ticks (100 ticks = 1 second)
+ */
+unsigned int get_time();
+
#endif