Change gettimeofday() function to clock_gettime() using CLOCK_MONOTONIC....

... This clock is not affect by manual time or ntp changes.