syscall.sh / mips64 / clock_gettime

clock_gettime

clock and time functions

sys_clock_gettime(clockid_t which_clock, struct __kernel_timespec *tp)
number5222 (0x1466)
abin64
entry pointsys_clock_gettime
sinceLinux 5.0
man pageclock_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
v05222, the syscall number
a0clockid_t which_clock
a1struct __kernel_timespec *tp
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/clock_gettime