Changeset 23510 in vbox
- Timestamp:
- Oct 2, 2009 12:08:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstCompressionBenchmark.cpp
r23509 r23510 139 139 NanoTS = RTTimeNanoTS() - NanoTS; 140 140 uSpeed = (unsigned)(cbSrc / (long double)NanoTS * 1000000000.0 / 1024); 141 RTSha256ToString(abSha 1Hash, szDigest, sizeof(szDigest));141 RTSha256ToString(abSha256Hash, szDigest, sizeof(szDigest)); 142 142 RTPrintf("SHA256 %'9u KB/s %'14llu ns - %s\n", uSpeed, NanoTS, szDigest); 143 143 … … 147 147 NanoTS = RTTimeNanoTS() - NanoTS; 148 148 uSpeed = (unsigned)(cbSrc / (long double)NanoTS * 1000000000.0 / 1024); 149 RTSha512ToString(abSha 1Hash, szDigest, sizeof(szDigest));149 RTSha512ToString(abSha512Hash, szDigest, sizeof(szDigest)); 150 150 RTPrintf("SHA512 %'9u KB/s %'14llu ns - %s\n", uSpeed, NanoTS, szDigest); 151 151 }
Note:
See TracChangeset
for help on using the changeset viewer.