[botan-devel] Set the cpu speed in the environment or command line for ./botan speed

Jack Lloyd jack at randombit.net
Thu Mar 8 09:25:06 EST 2018


On Thu, Mar 08, 2018 at 08:58:25AM -0500, Jack Lloyd wrote:

> > Notice it is missing a cpb measurement.
> > 
> > If I can, say --cpu-clock-freq=1.2 (GiHz), then Botan can calculate
> > the cpb for me.
> > 
> > To be clear, I'm only interested in the cpb count. That is the way I
> > measure an implementation's performance.
> 
> Ah ok now I understand, yes lacking a working cycle counter at all,
> being able to specify the clock rate for reporting cpb makes perfect
> sense. Thanks!

Available now in master. It expects clock speed in MHz.



More information about the botan-devel mailing list