benchmark silo added
[c11concurrency-benchmarks.git] / silo / third-party / lz4 / bench.h
diff --git a/silo/third-party/lz4/bench.h b/silo/third-party/lz4/bench.h
new file mode 100644 (file)
index 0000000..9d5e4f5
--- /dev/null
@@ -0,0 +1,41 @@
+/*\r
+    bench.h - Demo program to benchmark open-source compression algorithm\r
+    Copyright (C) Yann Collet 2012-2013\r
+\r
+    This program is free software; you can redistribute it and/or modify\r
+    it under the terms of the GNU General Public License as published by\r
+    the Free Software Foundation; either version 2 of the License, or\r
+    (at your option) any later version.\r
+\r
+    This program is distributed in the hope that it will be useful,\r
+    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+    GNU General Public License for more details.\r
+\r
+    You should have received a copy of the GNU General Public License along\r
+    with this program; if not, write to the Free Software Foundation, Inc.,\r
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
+\r
+       You can contact the author at :\r
+       - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html\r
+       - LZ4 source repository : http://code.google.com/p/lz4/\r
+*/\r
+#pragma once\r
+\r
+#if defined (__cplusplus)\r
+extern "C" {\r
+#endif\r
+\r
+\r
+int BMK_benchFile(char** fileNamesTable, int nbFiles, int cLevel);\r
+\r
+// Parameters\r
+void BMK_SetBlocksize(int bsize);\r
+void BMK_SetNbIterations(int nbLoops);\r
+void BMK_SetPause();\r
+\r
+\r
+\r
+#if defined (__cplusplus)\r
+}\r
+#endif\r