projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08258f2
)
fixed clock source. embarassing...
author
Felix Morgner
<felix.morgner@gmail.com>
Sun, 12 Jan 2014 18:19:52 +0000
(19:19 +0100)
committer
Felix Morgner
<felix.morgner@gmail.com>
Sun, 12 Jan 2014 18:19:52 +0000
(19:19 +0100)
src/timer.c
patch
|
blob
|
history
diff --git
a/src/timer.c
b/src/timer.c
index 65df9edcb8df06b189338723bb8b9974c9328c90..bfc182cb5ba7e8a8167f03bfadf6855bfc43ee9e 100644
(file)
--- a/
src/timer.c
+++ b/
src/timer.c
@@
-47,7
+47,7
@@
static uint64_t Timer_now()
#ifdef __MACH__
clock_serv_t clock;
mach_timespec_t mts;
- host_get_clock_service(mach_host_self(),
CALENDAR
_CLOCK, &clock);
+ host_get_clock_service(mach_host_self(),
SYSTEM
_CLOCK, &clock);
clock_get_time(clock, &mts);
mach_port_deallocate(mach_task_self(), clock);
ts.tv_sec = mts.tv_sec;