aboutsummaryrefslogtreecommitdiff
path: root/zlibWrapper/examples/zwrapbench.c
diff options
context:
space:
mode:
Diffstat (limited to 'zlibWrapper/examples/zwrapbench.c')
-rw-r--r--zlibWrapper/examples/zwrapbench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zlibWrapper/examples/zwrapbench.c b/zlibWrapper/examples/zwrapbench.c
index e071c30985252..61031b9de798e 100644
--- a/zlibWrapper/examples/zwrapbench.c
+++ b/zlibWrapper/examples/zwrapbench.c
@@ -19,6 +19,7 @@
#include <ctype.h> /* toupper */
#include <errno.h> /* errno */
+#include "timefn.h" /* UTIL_time_t, UTIL_getTime, UTIL_clockSpanMicro, UTIL_waitForNextTick */
#include "mem.h"
#define ZSTD_STATIC_LINKING_ONLY
#include "zstd.h"
@@ -192,7 +193,7 @@ static int BMK_benchMem(z_const void* srcBuffer, size_t srcSize,
remaining -= thisBlockSize;
} } }
- /* warmimg up memory */
+ /* warming up memory */
RDG_genBuffer(compressedBuffer, maxCompressedSize, 0.10, 0.50, 1);
/* Bench */