glibc added a vdo mapping directly to the kernel time page, so gettimeofday is not a syscall, and the results in the linux 4.0-4.2 era were in the 40ns range. Last I looked, musl used the syscall, which was much, much worse.