summaryrefslogtreecommitdiffstats
path: root/programs/bench.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-07-29 16:57:36 (GMT)
committerYann Collet <cyan@fb.com>2022-07-29 17:22:59 (GMT)
commit4f4d09a0d1604da4a93d05716e586d73231c2e63 (patch)
tree0cfdde4daa06923e62f050802434f1e5f4b7fe98 /programs/bench.h
parentcd96e3e7a504311cd229cf536ede86e5febec9a7 (diff)
downloadlz4-4f4d09a0d1604da4a93d05716e586d73231c2e63.zip
lz4-4f4d09a0d1604da4a93d05716e586d73231c2e63.tar.gz
lz4-4f4d09a0d1604da4a93d05716e586d73231c2e63.tar.bz2
implement decoder-only benchmark mode
requires an LZ4 Frame as input
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 fc1f691..9b0f667 100644
--- a/programs/bench.h
+++ b/programs/bench.h
@@ -46,6 +46,7 @@ void BMK_setNbSeconds(unsigned nbSeconds); /* minimum benchmark duration, in se
void BMK_setBlockSize(size_t blockSize); /* Internally cut input file(s) into independent blocks of specified size */
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_setAdditionalParam(int additionalParam); /* hidden param, influence output format, for python parsing */