zstd/programs/bench.h

26 lines
783 B
C
Raw Normal View History

2016-08-30 17:04:33 +00:00
/**
* Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
2015-01-24 00:58:16 +00:00
#ifndef BENCH_H_121279284357
#define BENCH_H_121279284357
2015-01-24 00:58:16 +00:00
#include <stddef.h>
2015-01-24 00:58:16 +00:00
2015-12-18 00:26:48 +00:00
int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,
const char* dictFileName, int cLevel, int cLevelLast);
2015-01-24 00:58:16 +00:00
/* Set Parameters */
void BMK_SetNbSeconds(unsigned nbLoops);
2015-10-21 07:22:25 +00:00
void BMK_SetBlockSize(size_t blockSize);
2016-03-23 19:30:26 +00:00
void BMK_setAdditionalParam(int additionalParam);
void BMK_setNotificationLevel(unsigned level);
2015-01-24 00:58:16 +00:00
#endif /* BENCH_H_121279284357 */