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
|
|
|
|
|
|
|
|
2016-05-31 00:29:45 +00:00
|
|
|
#ifndef BENCH_H_121279284357
|
|
|
|
#define BENCH_H_121279284357
|
2015-01-24 00:58:16 +00:00
|
|
|
|
2016-05-31 00:29:45 +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,
|
2016-05-25 13:30:55 +00:00
|
|
|
const char* dictFileName, int cLevel, int cLevelLast);
|
2015-01-24 00:58:16 +00:00
|
|
|
|
|
|
|
/* Set Parameters */
|
2016-11-03 10:38:01 +00:00
|
|
|
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);
|
2016-03-14 11:48:51 +00:00
|
|
|
void BMK_setNotificationLevel(unsigned level);
|
2015-01-24 00:58:16 +00:00
|
|
|
|
2016-05-31 00:29:45 +00:00
|
|
|
#endif /* BENCH_H_121279284357 */
|