VirtualBox

Changeset 23510 in vbox


Ignore:
Timestamp:
Oct 2, 2009 12:08:08 PM (15 years ago)
Author:
vboxsync
Message:

tstCompressionBenchmark: fixed copy&past error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstCompressionBenchmark.cpp

    r23509 r23510  
    139139    NanoTS = RTTimeNanoTS() - NanoTS;
    140140    uSpeed = (unsigned)(cbSrc / (long double)NanoTS * 1000000000.0 / 1024);
    141     RTSha256ToString(abSha1Hash, szDigest, sizeof(szDigest));
     141    RTSha256ToString(abSha256Hash, szDigest, sizeof(szDigest));
    142142    RTPrintf("SHA256    %'9u KB/s  %'14llu ns - %s\n", uSpeed, NanoTS, szDigest);
    143143
     
    147147    NanoTS = RTTimeNanoTS() - NanoTS;
    148148    uSpeed = (unsigned)(cbSrc / (long double)NanoTS * 1000000000.0 / 1024);
    149     RTSha512ToString(abSha1Hash, szDigest, sizeof(szDigest));
     149    RTSha512ToString(abSha512Hash, szDigest, sizeof(szDigest));
    150150    RTPrintf("SHA512    %'9u KB/s  %'14llu ns - %s\n", uSpeed, NanoTS, szDigest);
    151151}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette