3 ms·
Then apps should not do that. It’s been possible to get the current time without using a syscall for years: http://man7.org/linux/man-pages/man7/vdso.7.html htt
by unilynx 9y ago
Then apps should not do that. It’s been possible to get the current time without using a syscall for years: http://man7.org/linux/man-pages/man7/vdso.7.html http://man7.org/linux/man-pages/man7/vdso.7.html
- MichaelMoser123 9y agoactually libc gettimeofday is calling __vdso_gettimeofday when available (if compiled with SHARED). http://code.metager.de/source/xref/gnu/glibc/sysdeps/unix/sysv/linux/x86/gettimeofday.c#40 http://code.metager.de/source/xref/gnu/glibc/sysdeps/unix/sy...