zstd/programs/bench.h

26 lines
786 B
C
Raw Normal View History

2016-08-30 10:04:33 -07: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-23 16:58:16 -08:00
#ifndef BENCH_H_121279284357
#define BENCH_H_121279284357
2015-01-23 16:58:16 -08:00
#include <stddef.h>
2015-01-23 16:58:16 -08:00
2015-12-17 16:26:48 -08:00
int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,
const char* dictFileName, int cLevel, int cLevelLast);
2015-01-23 16:58:16 -08:00
/* Set Parameters */
void BMK_SetNbIterations(unsigned nbLoops);
2015-10-21 00:22:25 -07:00
void BMK_SetBlockSize(size_t blockSize);
2016-03-23 12:30:26 -07:00
void BMK_setAdditionalParam(int additionalParam);
void BMK_setNotificationLevel(unsigned level);
2015-01-23 16:58:16 -08:00
#endif /* BENCH_H_121279284357 */