decode benchmark - single file (hidden option)

This commit is contained in:
Yann Collet
2016-12-06 16:49:23 -08:00
parent 1628fe08fc
commit d946501d2c
3 changed files with 96 additions and 66 deletions
+5 -1
View File
@@ -334,7 +334,11 @@ int main(int argCount, const char* argv[])
case 'z': operation=zom_compress; argument++; break;
/* Decoding */
case 'd': operation=zom_decompress; argument++; break;
case 'd': if (operation==zom_bench) {
BMK_setDecodeOnly(1); argument++; break; /* benchmark decode (hidden option) */
} else {
operation=zom_decompress; argument++; break;
}
/* Force stdout, even if stdout==console */
case 'c': forceStdout=1; outFileName=stdoutmark; argument++; break;