Commit 806601e9 authored by simonpj's avatar simonpj
Browse files

[project @ 2005-11-28 09:24:17 by simonpj]

Patch from Atrijus alleged to fix FreeBSD build
parent db18148d
......@@ -113,7 +113,7 @@ void getProcessTimes(Ticks *user, Ticks *elapsed)
Ticks getThreadCPUTime(void)
{
#ifdef HAVE_CLOCK_GETTIME
#if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_THREAD_CPUTIME_ID)
// clock_gettime() gives us per-thread CPU time. It isn't
// reliable on Linux, but it's the best we have.
struct timespec ts;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment