mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
sched/clock/clock_getcpuclockid: add clock_getcpuclockid implementation
1. the implementation can pass the full ltp/open_posix_testsuite/clock_getcpuclockid testcases 2. the modification are referred to https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getcpuclockid.html Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
@@ -168,6 +168,7 @@ SYSCALL_LOOKUP(clock_nanosleep, 4)
|
||||
*/
|
||||
|
||||
SYSCALL_LOOKUP(clock, 0)
|
||||
SYSCALL_LOOKUP(clock_getcpuclockid, 2)
|
||||
SYSCALL_LOOKUP(clock_getres, 2)
|
||||
SYSCALL_LOOKUP(clock_gettime, 2)
|
||||
SYSCALL_LOOKUP(clock_settime, 2)
|
||||
|
||||
Reference in New Issue
Block a user