summaryrefslogtreecommitdiffstats
path: root/programs/bench.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-07-29 20:13:38 (GMT)
committerYann Collet <cyan@fb.com>2022-07-29 20:13:38 (GMT)
commitf01b7b5209c447acdee0db817f239e9925497329 (patch)
treee4a1c12db670a94ca55ffdcf4c133e0d0066de52 /programs/bench.h
parente8f0baa3f9bef8976aefc7c6fb9f0e3e6b5d7215 (diff)
downloadlz4-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.h1
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 */