Deutsch   English   Français   Italiano  
<86wmfrdwp6.fsf@linuxsc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch <tr.17687@z991.linuxsc.com>
Newsgroups: comp.lang.c++
Subject: Re: constexpr is really very smart!
Date: Sun, 22 Dec 2024 17:17:41 -0800
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <86wmfrdwp6.fsf@linuxsc.com>
References: <vjndub$2glcu$1@paganini.bofh.team> <20241216112808.00003f74@yahoo.com> <86jzbyghdw.fsf@linuxsc.com> <20241218013342.0000518a@yahoo.com> <867c7whol9.fsf@linuxsc.com> <20241218220006.00003f8e@yahoo.com> <86v7vgf3tb.fsf@linuxsc.com> <20241219234549.00001902@yahoo.com> <86r062f0kl.fsf@linuxsc.com> <20241222001456.00007e84@yahoo.com> <865xnbftyi.fsf@linuxsc.com> <20241223000503.00006d1d@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 23 Dec 2024 02:17:42 +0100 (CET)
Injection-Info: dont-email.me; posting-host="175d13363d069c69169282e3d646d5d4";
	logging-data="935447"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/7f48AivyI+WRaL46AegMnO3mjRJqiQOQ="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:rF8mPbtNOhKjleEe9xYtMVhQ6qc=
	sha1:HbMV4NpgyAfZ7OZnd5TbRyRtogU=
Bytes: 2225

Michael S <already5chosen@yahoo.com> writes:

> On Sun, 22 Dec 2024 10:33:57 -0800
> Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>
>> 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.
>
> Did you see correction of James Kuyper?
> Under Linux it is called __rdtsc().

Yes I saw that.