Simple wrapper around process.hrtime to get duration.