2 #include <minix/sysutil.h>
5 u32_t
sys_jiffies(void)
9 if (getticks(&ticks
) == OK
)
12 panic("getuptime() failed\n");
23 /* use ticks not realtime as sys_now() is used to calculate timers */
24 jiffs
= sys_jiffies();
26 return jiffs
* (1000 / hz
);