std::chrono is much slower than native requests...?
Paul Smith
psmith@gnu.org
Sat Jul 6 16:10:00 GMT 2019
On Sat, 2019-07-06 at 18:29 +0300, Alexander Monakov wrote:
> ^ this is a problem, your libstdc++ library is configured to use the syscall
> directly instead of letting the libc go via the VDSO fastpath.
Oh snap!
I'm fully aware of the VDSO situation but I didn't grok the fact that
the syscall meant I wasn't using it.
Hm, this code is built with a sysroot designed to work on Red Hat EL
6.5 and newer systems; I suppose the RHEL 6.5 glibc must not have used
the clock_gettime VDSO (or if it did my GCC configure doesn't find it).
OK, that gives me a clear direction.
Thanks Alexander!
More information about the Gcc-help
mailing list