X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fkernel%2Fao.h;fp=src%2Fkernel%2Fao.h;h=dddcd9cb5afd6d8a4079d96eacac2842933b466a;hp=c00de1fe064644e3189bfd8b024865477676f26e;hb=cd920a0e5321166ef8b1d6afc3d63fc5de998a93;hpb=0448b9b638f8599633227a639ef9d8572780bbd9 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);