diff options
author | Yann Collet <cyan@fb.com> | 2022-07-29 20:13:38 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2022-07-29 20:13:38 (GMT) |
commit | f01b7b5209c447acdee0db817f239e9925497329 (patch) | |
tree | e4a1c12db670a94ca55ffdcf4c133e0d0066de52 /programs/bench.h | |
parent | e8f0baa3f9bef8976aefc7c6fb9f0e3e6b5d7215 (diff) | |
download | lz4-f01b7b5209c447acdee0db817f239e9925497329.zip lz4-f01b7b5209c447acdee0db817f239e9925497329.tar.gz lz4-f01b7b5209c447acdee0db817f239e9925497329.tar.bz2 |
can select validation of CRC during benchmark
on command line, using existing long command --no-frame-crc.
Note : it's effectively more than that, since _all_ checksums are disabled.
Diffstat (limited to 'programs/bench.h')
-rw-r--r-- | programs/bench.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/programs/bench.h b/programs/bench.h index 9b0f667..1d81a99 100644 --- a/programs/bench.h +++ b/programs/bench.h @@ -47,6 +47,7 @@ void BMK_setBlockSize(size_t blockSize); /* Internally cut input file(s) into void BMK_setNotificationLevel(unsigned level); /* Influence verbosity level */ void BMK_setBenchSeparately(int separate); /* When providing multiple files, output one result per file */ void BMK_setDecodeOnlyMode(int set); /* v1.9.4+: set benchmark mode to decode only */ +void BMK_skipChecksums(int skip); /* v1.9.4+: only useful for DecodeOnlyMode; do not calculate checksum when present, to save CPU time */ void BMK_setAdditionalParam(int additionalParam); /* hidden param, influence output format, for python parsing */ |