Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
806601e9
Commit
806601e9
authored
Nov 28, 2005
by
simonpj
Browse files
[project @ 2005-11-28 09:24:17 by simonpj]
Patch from Atrijus alleged to fix FreeBSD build
parent
db18148d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/posix/GetTime.c
View file @
806601e9
...
...
@@ -113,7 +113,7 @@ void getProcessTimes(Ticks *user, Ticks *elapsed)
Ticks
getThreadCPUTime
(
void
)
{
#ifdef
HAVE_CLOCK_GETTIME
#if
def
ined(
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment