clock_gettime for CLOCK_REALTIME