+2
−2
+11
−4
+36
−11
+20
−0
Loading
clock_gettime(CLOCK_MONOTONIC, ×pec) will be durable across time changes. If it's not available, or the call has specified that that level of accuracy is not needed, it will use regular gettimeofday.