mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00: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:
parent
dc6baf68a9
commit
bc084a8505
8 changed files with 156 additions and 6 deletions
|
|
@ -13,6 +13,7 @@
|
|||
"chown","unistd.h","","int","FAR const char *","uid_t","gid_t"
|
||||
"clearenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int"
|
||||
"clock","time.h","","clock_t"
|
||||
"clock_getcpuclockid","time.h","","int","pid_t","FAR clockid_t *"
|
||||
"clock_getres","time.h","","int","clockid_t","FAR struct timespec *"
|
||||
"clock_gettime","time.h","","int","clockid_t","FAR struct timespec *"
|
||||
"clock_nanosleep","time.h","","int","clockid_t","int","FAR const struct timespec *", "FAR struct timespec *"
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Add table
Add a link
Reference in a new issue