summaryrefslogtreecommitdiff
path: root/src/kernel/ao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ao.h')
-rw-r--r--src/kernel/ao.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/ao.h b/src/kernel/ao.h
index c00de1fe..dddcd9cb 100644
--- a/src/kernel/ao.h
+++ b/src/kernel/ao.h
@@ -117,6 +117,10 @@ extern volatile AO_TICK_TYPE ao_tick_count;
AO_TICK_TYPE
ao_time(void);
+/* Returns the current time in ns */
+uint64_t
+ao_time_ns(void);
+
/* Suspend the current task until ticks time has passed */
void
ao_delay(uint16_t ticks);