summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/clock_getcpuclockid.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix prototype. Also the function should return error code instead ofdavidxu2012-08-211-2/+4
| | | | -1 on error.
* Implement syscall clock_getcpuclockid2, so we can get a clock iddavidxu2012-08-171-0/+39
for process, thread or others we want to support. Use the syscall to implement POSIX API clock_getcpuclock and pthread_getcpuclockid. PR: 168417
OpenPOWER on IntegriCloud