2 ms·
Any idea on how this would apply to something like clock_gettime(CLOCK_MONOTONIC) ? This seems to have extremely low overhead ...
by PaulDavisThe1st 7y ago
Any idea on how this would apply to something like clock_gettime(CLOCK_MONOTONIC) ? This seems to have extremely low overhead ...
- wtallis 7y agoThat's one of the functions provided by the vDSO, so userspace code can call it without a context switch: http://man7.org/linux/man-pages/man7/vdso.7.html http://man7.org/linux/man-pages/man7/vdso.7.html