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
|
|
|
|
|
|
|
|
2016-05-30 17:29:45 -07:00
|
|
|
#ifndef BENCH_H_121279284357
|
|
|
|
#define BENCH_H_121279284357
|
2015-01-23 16:58:16 -08:00
|
|
|
|
2016-05-30 17:29:45 -07: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,
|
2016-05-25 06:30:55 -07:00
|
|
|
const char* dictFileName, int cLevel, int cLevelLast);
|
2015-01-23 16:58:16 -08:00
|
|
|
|
|
|
|
/* Set Parameters */
|
2016-03-17 11:51:02 -07:00
|
|
|
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);
|
2016-03-14 04:48:51 -07:00
|
|
|
void BMK_setNotificationLevel(unsigned level);
|
2015-01-23 16:58:16 -08:00
|
|
|
|
2016-05-30 17:29:45 -07:00
|
|
|
#endif /* BENCH_H_121279284357 */
|