linux - Difference between CLOCK_REALTIME and CLOCK_MONOTONIC? - Stack Overflow
Could you explain the difference between CLOCK_REALTIME and CLOCK_MONOTONIC clocks returned by clock_gettime() on Linux? Which is a better choice if I need to compute elapsed time between timestamps...