mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
11 lines
325 B
C++
11 lines
325 B
C++
--- src/timing.cpp.orig 2020-07-06 09:01:51 UTC
|
|
+++ src/timing.cpp
|
|
@@ -22,7 +22,7 @@ unsigned long GetTimerClock()
|
|
{
|
|
timespec ts;
|
|
|
|
- clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
|
|
+ clock_gettime(CLOCK_MONOTONIC, &ts);
|
|
// clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts);
|
|
// clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts);
|
|
|