syscall.sh / arm / clock_gettime

clock_gettime

clock and time functions

sys_clock_gettime32(clockid_t which_clock, struct old_timespec32 *tp)
number263 (0x107)
abicommon
entry pointsys_clock_gettime32
sinceLinux 4.10
man pageclock_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
r7263, the syscall number
r0clockid_t which_clock
r1struct old_timespec32 *tp
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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