Home
last modified time | relevance | path

Searched refs:nbThreads (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/contrib/seekable_format/examples/
H A Dparallel_processing.c138 static void sumFile_orDie(const char* fname, int nbThreads) in sumFile_orDie() argument
140 POOL_ctx* pool = POOL_create(nbThreads, nbThreads); in sumFile_orDie()
189 int const nbThreads = atoi(argv[2]); in main() local
190 sumFile_orDie(inFilename, nbThreads); in main()
H A Dparallel_compression.c123 …ssFile_orDie(const char* fname, const char* outName, int cLevel, unsigned frameSize, int nbThreads) in compressFile_orDie() argument
125 POOL_ctx* pool = POOL_create(nbThreads, nbThreads); in compressFile_orDie()
208 int const nbThreads = atoi(argv[3]); in main() local
211 compressFile_orDie(inFileName, outFileName, 5, frameSize, nbThreads); in main()
/freebsd-12.1/sys/contrib/zstd/tests/
H A Dfuzzer.c219 { U32 nbThreads; in FUZ_mallocTests() local
220 for (nbThreads=1; nbThreads<=4; nbThreads++) { in FUZ_mallocTests()
229 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_p_nbWorkers, nbThreads) ); in FUZ_mallocTests()
233 nbThreads, compressionLevel); in FUZ_mallocTests()
239 { U32 nbThreads; in FUZ_mallocTests() local
240 for (nbThreads=1; nbThreads<=4; nbThreads++) { in FUZ_mallocTests()
249 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_p_nbWorkers, nbThreads) ); in FUZ_mallocTests()
254 nbThreads, compressionLevel); in FUZ_mallocTests()
H A Dzstreamtest.c1235 U32 nbThreads = 2; in fuzzerTests_MT() local
1236 ZSTDMT_CCtx* zc = ZSTDMT_createCCtx(nbThreads); /* will be reset sometimes */ in fuzzerTests_MT()
1263 DISPLAYLEVEL(6, "Creating initial context with %u threads \n", nbThreads); in fuzzerTests_MT()
1289 nbThreads = (FUZ_rand(&lseed) % nbThreadsMax) + 1; in fuzzerTests_MT()
1290 DISPLAYLEVEL(5, "Creating new context with %u threads \n", nbThreads); in fuzzerTests_MT()
1292 zc = ZSTDMT_createCCtx(nbThreads); in fuzzerTests_MT()
1323 …int const cLevelThreadAdjusted = cLevelCandidate - (nbThreads * 2) + 2; /* reduce cLevel when mul… in fuzzerTests_MT()
1686 U32 const nbThreads = MIN(nbThreadsAdjusted, nbThreadsMax); in fuzzerTests_newAPI() local
1687 DISPLAYLEVEL(5, "t%u: nbThreads : %u \n", testNb, nbThreads); in fuzzerTests_newAPI()
1688 … CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_p_nbWorkers, nbThreads, useOpaqueAPI) ); in fuzzerTests_newAPI()
[all …]
/freebsd-12.1/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.h88 …unsigned nbThreads; /* Number of threads : constraint: 0 < nbThreads : 1 means single-thr… member
H A Dcover.c936 const unsigned nbThreads = parameters->nbThreads; in ZDICT_optimizeTrainFromBuffer_cover() local
967 if (nbThreads > 1) { in ZDICT_optimizeTrainFromBuffer_cover()
968 pool = POOL_create(nbThreads, 1); in ZDICT_optimizeTrainFromBuffer_cover()
/freebsd-12.1/sys/contrib/zstd/programs/
H A Dzstdcli.c817 coverParams.nbThreads = nbWorkers; in main()
/freebsd-12.1/sys/contrib/zstd/
H A DNEWS9 api : `nbThreads` becomes `nbWorkers` : 1 triggers asynchronous mode