mirror of
				https://github.com/facebook/zstd.git
				synced 2025-11-04 00:02:59 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/**
 | 
						|
 * 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.
 | 
						|
 */
 | 
						|
 | 
						|
 | 
						|
#ifndef BENCH_H_121279284357
 | 
						|
#define BENCH_H_121279284357
 | 
						|
 | 
						|
#include <stddef.h>   /* size_t */
 | 
						|
#define ZSTD_STATIC_LINKING_ONLY   /* ZSTD_compressionParameters */
 | 
						|
#include "zstd.h"     /* ZSTD_compressionParameters */
 | 
						|
 | 
						|
int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,const char* dictFileName,
 | 
						|
                   int cLevel, int cLevelLast, ZSTD_compressionParameters* compressionParams, int setRealTimePrio);
 | 
						|
 | 
						|
/* Set Parameters */
 | 
						|
void BMK_setNbSeconds(unsigned nbLoops);
 | 
						|
void BMK_setBlockSize(size_t blockSize);
 | 
						|
void BMK_setNbThreads(unsigned nbThreads);
 | 
						|
void BMK_setNotificationLevel(unsigned level);
 | 
						|
void BMK_setAdditionalParam(int additionalParam);
 | 
						|
void BMK_setDecodeOnlyMode(unsigned decodeFlag);
 | 
						|
 | 
						|
#endif   /* BENCH_H_121279284357 */
 |