aboutsummaryrefslogtreecommitdiffstats
path: root/security/helib/files/patch-src_timing.cpp
blob: c4f21204b97d1bb3dd96d357424beb131a33ab01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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);