diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-10 15:57:42 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-10 15:57:42 (GMT) |
commit | ceec6fa8492a5ff0ed163c96516716a3c2b09461 (patch) | |
tree | 2e478ef1c6960cb419760761e432471f115522c5 /programs/bench.c | |
parent | 6b0c39b839b8343da195252a8c46e6d93138f3b8 (diff) | |
download | lz4-ceec6fa8492a5ff0ed163c96516716a3c2b09461.zip lz4-ceec6fa8492a5ff0ed163c96516716a3c2b09461.tar.gz lz4-ceec6fa8492a5ff0ed163c96516716a3c2b09461.tar.bz2 |
g++ compatibility
Diffstat (limited to 'programs/bench.c')
-rw-r--r-- | programs/bench.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/programs/bench.c b/programs/bench.c index 77120f2..0ed7fcb 100644 --- a/programs/bench.c +++ b/programs/bench.c @@ -1,6 +1,7 @@ /* - bench.c - Demo program to benchmark open-source compression algorithm + bench.c - Demo program to benchmark open-source compression algorithms Copyright (C) Yann Collet 2012-2015 + GPL v2 License This program is free software; you can redistribute it and/or modify @@ -141,15 +142,15 @@ static int chunkSize = DEFAULT_CHUNKSIZE; static int nbIterations = NBLOOPS; static int BMK_pause = 0; -void BMK_SetBlocksize(int bsize) { chunkSize = bsize; } +void BMK_setBlocksize(int bsize) { chunkSize = bsize; } -void BMK_SetNbIterations(int nbLoops) +void BMK_setNbIterations(int nbLoops) { nbIterations = nbLoops; DISPLAY("- %i iterations -\n", nbIterations); } -void BMK_SetPause(void) { BMK_pause = 1; } +void BMK_setPause(void) { BMK_pause = 1; } /********************************************************* @@ -234,7 +235,7 @@ static U64 BMK_GetFileSize(const char* infilename) * Public function **********************************************************/ -int BMK_benchFile(const char** fileNamesTable, int nbFiles, int cLevel) +int BMK_benchFiles(const char** fileNamesTable, int nbFiles, int cLevel) { int fileIdx=0; char* orig_buff; |