native: add time syscalls