Use WT_TIMEDIFF for latency computation. #863