[PATCH] benchtests: Add random strlen benchmark

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Tue Mar 4 16:57:39 GMT 2025



On 04/03/25 13:07, Wilco Dijkstra wrote:
> Hi Adhemerval,
> 
>> Should we be worried that 65536 (n) * 2048 (iters) might overflow the
>> hp_timing_t here?
> 
> On AArch64 the fixed-point division can only overflow after ~20 minutes at the
> highest tick rate. So we're safe as the whole benchmark runs in 4-6 seconds.

Fair enough, I think only on alpha we have a lower range hp_timing_t but it
is not a problem here.


More information about the Libc-alpha mailing list