Fix. use clock_gettime.