X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=host%2Fperformance2wiki.rb;h=a60cde153a0eb29f517586347d7743ebb0988f35;hb=b022a029def51d63f330c12bf07156db294c8958;hp=29afa46194add6bec8de178038fb13649380e7f1;hpb=206e5aa6d34ac3fb32bdf9e6affc153547e189d8;p=avr-crypto-lib.git diff --git a/host/performance2wiki.rb b/host/performance2wiki.rb index 29afa46..a60cde1 100644 --- a/host/performance2wiki.rb +++ b/host/performance2wiki.rb @@ -57,10 +57,10 @@ def process_hashfunction(fin, name) m = lb.match(/ctx2hash \(cycles\):[\s]*([\d]*)/) convtime = m[1].to_i() - printf("| %20s || %3s || %3s || || %4d || %4d || %4d ||" + + printf("| %20s || %3s || %3s || || %4d || || %4d || %4d ||" + " %6d || %6d || %7.2f || %6d || || || \n|-\n" , name, $lang, $lang ,ctxsize, hashsize, blocksize, - inittime, nextblocktime, nextblocktime.to_f/blocksize*8, + inittime, nextblocktime, nextblocktime.to_f/(blocksize/8), lastblocktime+convtime) end