Deutsch   English   Français   Italiano  
<vca03t$30so3$1@dont-email.me>

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

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: comp.lang.c
Subject: Re: DECIMAL POINT IS COMMA
Date: Mon, 16 Sep 2024 15:15:09 -0400
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <vca03t$30so3$1@dont-email.me>
References: <vc1q7b$v34v$1@raubtier-asyl.eternal-september.org>
 <vc8k2g$2mu8f$2@dont-email.me>
 <vc92t2$2q6j3$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 16 Sep 2024 21:15:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="479e6ac3209ef72c496fbd8aafdf2846";
	logging-data="3175171"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18q9xe5eNpzZN9cfyxD1sXH8Uz85cPu1h8="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:sNAzfFxG1w8eiJ9u9y1+DW0uBJs=
Content-Language: en-US
In-Reply-To: <vc92t2$2q6j3$1@raubtier-asyl.eternal-september.org>
Bytes: 2735

On Mon, 9/16/2024 6:56 AM, Bonita Montero wrote:
> Am 16.09.2024 um 08:43 schrieb Lawrence D'Oliveiro:
> 
>> This posting was completely baffling to me, until I realized ...
> 
> I'm from Europe and I can handle both types of decimal points.
> 

I'm from "somewhere" and 1000 is 1000 here. Punctuation
is for Excel spreadsheets :-)

*******

The hardware has a declaration, so in principle you don't
even have to measure anything.

   "Since the family 10h (Barcelona/Phenom), AMD chips feature a constant TSC,
    which can be driven either by the HyperTransport speed or the highest P state.
    A CPUID bit (Fn8000_0007:EDX_8) advertises this;
    Intel-CPUs also report their invariant TSC on that bit."

In Linux, there is "constant_tsc" in the CPU feature list.
Both my machines have it (an Intel machine ten years old,
an AMD machine two years old). Your machine would list it
in /proc/cpuinfo.

So you didn't write that code for your 7950X, since you
could just check the CPU feature bit instead for the
property of "constant_tsc", AKA invariant TSC. Your CPU
is not "synchronized" -- the hardware just does not vary
across the face of the CPU. It's like an entirely different
feature in a sense.

The way Wiki puts this:

   "The specific processor configuration determines the behavior.
    Constant TSC behavior ensures that the duration of each clock tick
    is uniform and makes it possible to use the TSC as a wall-clock timer
    even if the processor core changes frequency. This is the
    architectural behavior for all later Intel processors."

   Paul