about summary refs log tree commit diff
path: root/src/time/clock.c
Commit message (Collapse)AuthorAgeFilesLines
* fix missing include in last commitRich Felker2011-08-131-0/+1
|
* fix clock() functionRich Felker2011-08-131-2/+7
| | | | | | | | | | it previously was returning the pseudo-monotonic-realtime clock returned by times() rather than process cputime. it also violated C namespace by pulling in times(). we now use clock_gettime() if available because times() has ridiculously bad resolution. still provide a fallback for ancient kernels without clock_gettime.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+9