nanosecond: initial commit changing timeval to timespec