edit
[c11concurrency-benchmarks.git] / silo / third-party / lz4 / bench.h
1 /*\r
2     bench.h - Demo program to benchmark open-source compression algorithm\r
3     Copyright (C) Yann Collet 2012-2013\r
4 \r
5     This program is free software; you can redistribute it and/or modify\r
6     it under the terms of the GNU General Public License as published by\r
7     the Free Software Foundation; either version 2 of the License, or\r
8     (at your option) any later version.\r
9 \r
10     This program is distributed in the hope that it will be useful,\r
11     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13     GNU General Public License for more details.\r
14 \r
15     You should have received a copy of the GNU General Public License along\r
16     with this program; if not, write to the Free Software Foundation, Inc.,\r
17     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 \r
19         You can contact the author at :\r
20         - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html\r
21         - LZ4 source repository : http://code.google.com/p/lz4/\r
22 */\r
23 #pragma once\r
24 \r
25 #if defined (__cplusplus)\r
26 extern "C" {\r
27 #endif\r
28 \r
29 \r
30 int BMK_benchFile(char** fileNamesTable, int nbFiles, int cLevel);\r
31 \r
32 // Parameters\r
33 void BMK_SetBlocksize(int bsize);\r
34 void BMK_SetNbIterations(int nbLoops);\r
35 void BMK_SetPause();\r
36 \r
37 \r
38 \r
39 #if defined (__cplusplus)\r
40 }\r
41 #endif\r