]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added debug statement
authorPaul Cruz <paulcruz74@fb.com>
Tue, 11 Jul 2017 23:50:50 +0000 (16:50 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Tue, 11 Jul 2017 23:50:50 +0000 (16:50 -0700)
contrib/adaptive-compression/adapt.c

index ad3d7f7a6be677798930f54eaa7544160394c587..b0bcb74f2021af8c4a0df9de0da72934e7945dd1 100644 (file)
@@ -254,6 +254,7 @@ static void* compressionThread(void* arg)
             unsigned const cLevel = adaptCompressionLevel(ctx);
             DEBUG(3, "cLevel used: %u\n", cLevel);
             DEBUG(2, "dictSize: %zu, srcSize: %zu\n", job->dict.size, job->src.size);
+            DEBUG(2, "compression level used: %u\n", cLevel);
             /* begin compression */
             {
                 size_t const dictModeError = ZSTD_setCCtxParameter(ctx->cctx, ZSTD_p_forceRawDict, 1);