Fix getThreadCPUTime()
authorSimon Marlow <marlowsd@gmail.com>
Mon, 13 Sep 2010 15:38:38 +0000 (15:38 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 13 Sep 2010 15:38:38 +0000 (15:38 +0000)
commit960c61cd95622c39b6e786ad21afa45c3fdb405f
tree14a8e431642fe906ebf7e1fc81ff8a4aa92e5b27
parent4a82c60e35612612921c74b3448e79b0a60de780
Fix getThreadCPUTime()
ever since the patch "Check with sysconf _POSIX_THREAD_CPUTIME", it
has been returning incorrect results, because the sysconf variable to
check should have been _SC_THREAD_CPUTIME, not _POSIX_THREAD_CPUTIME.
rts/posix/GetTime.c