Sujet : Re: constexpr is really very smart!
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.c++Date : 22. Dec 2024, 19:33:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <865xnbftyi.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Michael S <
already5chosen@yahoo.com> writes:
On Fri, 20 Dec 2024 14:31:54 -0800
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>
Thank you for that. Sadly I am not able to run it because my
test environment is lacking _rdtsc(), and I haven't been able
to find out how to install it.
>
Any x86-64 Linux should have _rdtsc() as inline function (or built-in)
defined in x86intrin.h. No installation required.
Okay. As it turns out knowing that doesn't help me, but thank
you for the info. I'm taking this as a sign from heaven that
I should be spending my energies somewhere other than measuring
performance.