Blame thirdparty/Lz4/Lz4_131/programs/bench.h
|
kusano |
7d535a |
/*
|
|
kusano |
7d535a |
bench.h - Demo program to benchmark open-source compression algorithm
|
|
kusano |
7d535a |
Copyright (C) Yann Collet 2012-2015
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
This program is free software; you can redistribute it and/or modify
|
|
kusano |
7d535a |
it under the terms of the GNU General Public License as published by
|
|
kusano |
7d535a |
the Free Software Foundation; either version 2 of the License, or
|
|
kusano |
7d535a |
(at your option) any later version.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
This program is distributed in the hope that it will be useful,
|
|
kusano |
7d535a |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
kusano |
7d535a |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
kusano |
7d535a |
GNU General Public License for more details.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
You should have received a copy of the GNU General Public License along
|
|
kusano |
7d535a |
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
kusano |
7d535a |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
You can contact the author at :
|
|
kusano |
7d535a |
- LZ4 source repository : https://github.com/Cyan4973/lz4
|
|
kusano |
7d535a |
- LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
|
|
kusano |
7d535a |
*/
|
|
kusano |
7d535a |
#pragma once
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
/* Main function */
|
|
kusano |
7d535a |
int BMK_benchFiles(const char** fileNamesTable, int nbFiles, int cLevel);
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
/* Set Parameters */
|
|
kusano |
7d535a |
void BMK_setBlocksize(int bsize);
|
|
kusano |
7d535a |
void BMK_setNbIterations(int nbLoops);
|
|
kusano |
7d535a |
void BMK_setPause(void);
|
|
kusano |
7d535a |
|