[c] diff nanosecond time with clock_gettime