Lines Matching full:adv

169             const BMK_advancedParams_t* adv)  in BMK_initCCtx()  argument
172 if (adv->nbWorkers==1) { in BMK_initCCtx()
175 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_nbWorkers, adv->nbWorkers)); in BMK_initCCtx()
178 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_useRowMatchFinder, adv->useRowMatchFinder)); in BMK_initCCtx()
179 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_enableLongDistanceMatching, adv->ldmFlag)); in BMK_initCCtx()
180 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmMinMatch, adv->ldmMinMatch)); in BMK_initCCtx()
181 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmHashLog, adv->ldmHashLog)); in BMK_initCCtx()
182 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmBucketSizeLog, adv->ldmBucketSizeLog)); in BMK_initCCtx()
183 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_ldmHashRateLog, adv->ldmHashRateLog)); in BMK_initCCtx()
190 …CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_literalCompressionMode, (int)adv->literalCompressionMod… in BMK_initCCtx()
208 const BMK_advancedParams_t* adv; member
213 … BMK_initCCtx(ag->cctx, ag->dictBuffer, ag->dictBufferSize, ag->cLevel, ag->comprParams, ag->adv); in local_initCCtx()
316 const BMK_advancedParams_t* adv) in BMK_benchMemAdvancedNoAlloc() argument
318 …size_t const blockSize = ((adv->blockSize>=32 && (adv->mode != BMK_decodeOnly)) ? adv->blockSize :… in BMK_benchMemAdvancedNoAlloc()
330 …if (adv->mode == BMK_decodeOnly) { /* benchmark only decompression : source must be already compr… in BMK_benchMemAdvancedNoAlloc()
364 …U32 const nbBlocksforThisFile = (adv->mode == BMK_decodeOnly) ? 1 : (U32)((remaining + (blockSize-… in BMK_benchMemAdvancedNoAlloc()
371 …cCapacities[nbBlocks] = (adv->mode == BMK_decodeOnly) ? thisBlockSize : ZSTD_compressBound(thisBlo… in BMK_benchMemAdvancedNoAlloc()
373 …resSizes[nbBlocks] = (adv->mode == BMK_decodeOnly) ? (size_t) ZSTD_findDecompressedSize(srcPtr, th… in BMK_benchMemAdvancedNoAlloc()
378 if (adv->mode == BMK_decodeOnly) { in BMK_benchMemAdvancedNoAlloc()
384 if (adv->mode == BMK_decodeOnly) { in BMK_benchMemAdvancedNoAlloc()
391 { U64 const crcOrig = (adv->mode == BMK_decodeOnly) ? 0 : XXH64(srcBuffer, srcSize, 0); in BMK_benchMemAdvancedNoAlloc()
395 int compressionCompleted = (adv->mode == BMK_decodeOnly); in BMK_benchMemAdvancedNoAlloc()
396 int decompressionCompleted = (adv->mode == BMK_compressOnly); in BMK_benchMemAdvancedNoAlloc()
418 cctxprep.adv = adv; in BMK_benchMemAdvancedNoAlloc()
498 if ((adv->mode == BMK_both) && (crcOrig!=crcCheck)) { in BMK_benchMemAdvancedNoAlloc()
537 } /* if ((adv->mode == BMK_both) && (crcOrig!=crcCheck)) */ in BMK_benchMemAdvancedNoAlloc()
543 if (adv->additionalParam) { in BMK_benchMemAdvancedNoAlloc()
544 …s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed, displayName, adv->additionalParam); in BMK_benchMemAdvancedNoAlloc()
562 int displayLevel, const char* displayName, const BMK_advancedParams_t* adv) in BMK_benchMemAdvanced() argument
567 …size_t const blockSize = ((adv->blockSize>=32 && (adv->mode != BMK_decodeOnly)) ? adv->blockSize :… in BMK_benchMemAdvanced()
582 …BMK_timedFnState_t* timeStateCompress = BMK_createTimedFnState(adv->nbSeconds * 1000, BMK_RUNTEST_… in BMK_benchMemAdvanced()
583 …BMK_timedFnState_t* timeStateDecompress = BMK_createTimedFnState(adv->nbSeconds * 1000, BMK_RUNTES… in BMK_benchMemAdvanced()
616 displayLevel, displayName, adv); in BMK_benchMemAdvanced()
653 BMK_advancedParams_t const adv = BMK_initAdvancedParams(); in BMK_benchMem() local
659 displayLevel, displayName, &adv); in BMK_benchMem()
667 BMK_advancedParams_t const * const adv) in BMK_benchCLevel() argument
673 if (adv->realTime) { in BMK_benchCLevel()
678 if (displayLevel == 1 && !adv->additionalParam) /* --quiet mode */ in BMK_benchCLevel()
681 (unsigned)benchedSize, adv->nbSeconds, (unsigned)(adv->blockSize>>10)); in BMK_benchCLevel()
688 displayLevel, displayName, adv); in BMK_benchCLevel()
693 int displayLevel, const BMK_advancedParams_t* adv) in BMK_syntheticTest() argument
717 displayLevel, name, adv); in BMK_syntheticTest()
788 int displayLevel, const BMK_advancedParams_t* adv) in BMK_benchFilesAdvanced() argument
873 adv); in BMK_benchFilesAdvanced()
890 BMK_advancedParams_t const adv = BMK_initAdvancedParams(); in BMK_benchFiles() local
891 …ilesAdvanced(fileNamesTable, nbFiles, dictFileName, cLevel, compressionParams, displayLevel, &adv); in BMK_benchFiles()