added debug statement

dev
Paul Cruz 2017-07-11 16:50:50 -07:00
parent 72a183efad
commit 0a401852c4
1 changed files with 1 additions and 0 deletions

View File

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