HomeSort by: relevance | last modified time | path
    Searched refs:nbThreads (Results 1 - 10 of 10) sorted by relevancy

  /src/external/bsd/zstd/dist/examples/
streaming_compression.c 19 int nbThreads)
22 fname, cLevel, nbThreads);
45 if (nbThreads > 1) {
46 size_t const r = ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads);
126 int nbThreads = 1;
134 nbThreads = atoi (argv[3]);
135 CHECK(nbThreads != 0, "can't parse THREADS!");
141 compressFile_orDie(inFilename, outFilename, cLevel, nbThreads);
streaming_compression_thread_pool.c 31 const int nbThreads = 16;
34 fprintf (stderr, "Starting compression of %s with level %d, using %d threads\n", args->fname, args->cLevel, nbThreads);
61 ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads);
  /src/external/bsd/zstd/dist/contrib/seekable_format/examples/
parallel_processing.c 138 static void sumFile_orDie(const char* fname, int nbThreads)
140 POOL_ctx* pool = POOL_create(nbThreads, nbThreads);
189 int const nbThreads = atoi(argv[2]);
190 sumFile_orDie(inFilename, nbThreads);
parallel_compression.c 122 static void compressFile_orDie(const char* fname, const char* outName, int cLevel, unsigned frameSize, int nbThreads)
124 POOL_ctx* pool = POOL_create(nbThreads, nbThreads);
207 int const nbThreads = atoi(argv[3]);
210 compressFile_orDie(inFileName, outFileName, 5, frameSize, nbThreads);
  /src/external/bsd/zstd/dist/lib/dictBuilder/
fastcover.c 524 coverParams->nbThreads = fastCoverParams.nbThreads;
539 fastCoverParams->nbThreads = coverParams.nbThreads;
627 const unsigned nbThreads = parameters->nbThreads;
671 if (nbThreads > 1) {
672 pool = POOL_create(nbThreads, 1);
cover.c 1173 const unsigned nbThreads = parameters->nbThreads;
1212 if (nbThreads > 1) {
1213 pool = POOL_create(nbThreads, 1);
  /src/external/bsd/zstd/dist/lib/
zdict.h 317 unsigned nbThreads; /* Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined */
329 unsigned nbThreads; /* Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined */
  /src/external/bsd/zstd/dist/programs/
zstdcli.c 781 unsigned nbThreads;
782 if (readU32FromCharChecked(&ptr, &nbThreads)) {
786 return nbThreads;
1465 coverParams.nbThreads = (unsigned)nbWorkers;
1470 fastCoverParams.nbThreads = (unsigned)nbWorkers;
  /src/external/bsd/zstd/dist/tests/
fuzzer.c 239 { int nbThreads;
240 for (nbThreads=1; nbThreads<=4; nbThreads++) {
247 CHECK_Z( ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbThreads) );
251 nbThreads, compressionLevel);
257 { int nbThreads;
258 for (nbThreads=1; nbThreads<=4; nbThreads++)
    [all...]
zstreamtest.c 3046 int const nbThreads = MIN(nbThreadsAdjusted, nbThreadsMax);
3047 DISPLAYLEVEL(5, "t%i: nbThreads : %u \n", testNb, nbThreads);
3048 CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_nbWorkers, nbThreads, opaqueAPI) );
3049 if (nbThreads > 1) {

Completed in 64 milliseconds