| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-05 | fix incorrect clock tick scaling in fallback case of clock() | Rich Felker | -1/+1 | |
| since CLOCKS_PER_SEC is 1000000 (required by XSI) and the times syscall reports values in 1/100 second units (Linux), the correct scaling factor is 10000, not 100. note that only ancient kernels which lack clock_gettime are affected. | ||||
| 2011-08-13 | fix missing include in last commit | Rich Felker | -0/+1 | |
| 2011-08-13 | fix clock() function | Rich Felker | -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. | ||||
| 2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | -0/+9 | |
