We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the book page 34 there is a sentence:
Making a clock_gettime system call can be much slower than executing RDTSC The latter takes about 5ns while the former takes about 500ns.
clock_gettime
high_resolution_clock is not that expensive:
high_resolution_clock
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
AMD EPYC 9274F 24-Core
Intel(R) Xeon(R) Gold 5318Y
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the book page 34 there is a sentence:
high_resolution_clock
is not that expensive:11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
CPU and Ubuntu 22.04 it takes 12ns.AMD EPYC 9274F 24-Core
CPU RH9 it takes 20nsIntel(R) Xeon(R) Gold 5318Y
CPU RH9 it takes 23nsThe text was updated successfully, but these errors were encountered: