Use clock_gettime(CLOCK_MONOTONIC) which is what Valve recommend