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

Jeffrey Walton noloader at gmail.com
Thu Mar 8 13:40:44 EST 2018

On Thu, Mar 8, 2018 at 9:25 AM, Jack Lloyd <jack at randombit.net> wrote:
> 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.

Thanks. A quick question....

For a 1 GHz processor, do we use 1024 or 1000? I guess what I am
asking is, MiB or MB?


More information about the botan-devel mailing list