Home
last modified time | relevance | path

Searched refs:cLevel (Results 1 – 9 of 9) sorted by relevance

/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
HDzwrapbench.c152 const char* displayName, int cLevel, in BMK_benchMem() argument
236 ZSTD_parameters const zparams = ZSTD_getParams(cLevel, avgSize, dictBufferSize); in BMK_benchMem()
253 … blockTable[blockNb].srcPtr,blockTable[blockNb].srcSize, cLevel); in BMK_benchMem()
262 ZSTD_parameters const zparams = ZSTD_getParams(cLevel, avgSize, dictBufferSize); in BMK_benchMem()
299 ret = deflateInit(&def, cLevel); in BMK_benchMem()
343 ret = deflateInit(&def, cLevel); in BMK_benchMem()
549 …DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSp… in BMK_benchMem()
551 …DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed… in BMK_benchMem()
553 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMem()
585 const char* displayName, int cLevel, int cLevelLast, in BMK_benchCLevel() argument
[all …]
/freebsd-13-stable/sys/contrib/zstd/programs/
HDbenchzstd.h97 int cLevel, const ZSTD_compressionParameters* compressionParams,
131 int cLevel, const ZSTD_compressionParameters* compressionParams,
152 int cLevel, double compressibility,
187 int cLevel, const ZSTD_compressionParameters* comprParams,
201 int cLevel, const ZSTD_compressionParameters* comprParams,
HDbenchzstd.c167 int cLevel, in BMK_initCCtx() argument
177 CHECK_Z(ZSTD_CCtx_setParameter(ctx, ZSTD_c_compressionLevel, cLevel)); in BMK_initCCtx()
205 int cLevel; member
212 … BMK_initCCtx(ag->cctx, ag->dictBuffer, ag->dictBufferSize, ag->cLevel, ag->comprParams, ag->adv); in local_initCCtx()
310 const int cLevel, in BMK_benchMemAdvancedNoAlloc() argument
418 cctxprep.cLevel = cLevel; in BMK_benchMemAdvancedNoAlloc()
544 …DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSp… in BMK_benchMemAdvancedNoAlloc()
546 …DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed… in BMK_benchMemAdvancedNoAlloc()
550 DISPLAYLEVEL(2, "%2i#\n", cLevel); in BMK_benchMemAdvancedNoAlloc()
560 int cLevel, const ZSTD_compressionParameters* comprParams, in BMK_benchMemAdvanced() argument
[all …]
HDzstdcli.c724 int cLevel = init_cLevel(); in main() local
929 dictCLevel = cLevel = -(int)fastLevel; in main()
939 cLevel = -1; /* default for --fast */ in main()
961 dictCLevel = cLevel = (int)readU32FromChar(&argument); in main()
1175 if (cLevel > ZSTD_maxCLevel()) cLevel = ZSTD_maxCLevel(); in main()
1177 if (cLevelLast < cLevel) cLevelLast = cLevel; in main()
1178 if (cLevelLast > cLevel) in main()
1179 DISPLAYLEVEL(3, "Benchmarking levels from %d to %d\n", cLevel, cLevelLast); in main()
1186 for(c = cLevel; c <= cLevelLast; c++) { in main()
1190 for(; cLevel <= cLevelLast; cLevel++) { in main()
[all …]
HDfileio.c904 int cLevel) in FIO_adjustParamsForPatchFromMode() argument
907 …ZSTD_compressionParameters const cParams = ZSTD_getCParams(cLevel, (size_t)maxSrcFileSize, (size_t… in FIO_adjustParamsForPatchFromMode()
928 int cLevel, ZSTD_compressionParameters comprParams) { in FIO_createCResources() argument
945 …prefs, &comprParams, UTIL_getFileSize(dictFileName), ssSize > 0 ? ssSize : maxSrcFileSize, cLevel); in FIO_createCResources()
964 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in FIO_createCResources()
/freebsd-13-stable/sys/contrib/zstd/examples/
HDdictionary_compression.c18 static ZSTD_CDict* createCDict_orDie(const char* dictFileName, int cLevel) in createCDict_orDie() argument
23 ZSTD_CDict* const cdict = ZSTD_createCDict(dictBuffer, dictSize, cLevel); in createCDict_orDie()
73 int const cLevel = 3; in main() local
84 ZSTD_CDict* const dictPtr = createCDict_orDie(dictName, cLevel); in main()
HDmultiple_streaming_compression.c31 static resources createResources_orDie(int cLevel) in createResources_orDie() argument
45 CHECK_ZSTD( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in createResources_orDie()
106 int const cLevel = 7; in main() local
107 resources const ress = createResources_orDie(cLevel); in main()
HDstreaming_compression_thread_pool.c23 int cLevel; member
32 fprintf (stderr, "Starting compression of %s with level %d\n", args->fname, args->cLevel); in compressFile_orDie()
57 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, args->cLevel) ); in compressFile_orDie()
162 args[i].cLevel = level; in main()
HDstreaming_compression.c19 static void compressFile_orDie(const char* fname, const char* outName, int cLevel) in compressFile_orDie() argument
40 CHECK_ZSTD( ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, cLevel) ); in compressFile_orDie()