Searched refs:numThreads (Results 1 – 5 of 5) sorted by relevance
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | pool.c | 109 return POOL_create (numThreads, 0); in ZSTD_createThreadPool() 120 if (!numThreads) { return NULL; } in POOL_create_advanced() 150 for (i = 0; i < numThreads; ++i) { in POOL_create_advanced() 156 ctx->threadCapacity = numThreads; in POOL_create_advanced() 157 ctx->threadLimit = numThreads; in POOL_create_advanced() 207 if (!numThreads) return 1; in POOL_resize_internal() 208 ctx->threadLimit = numThreads; in POOL_resize_internal() 227 ctx->threadCapacity = numThreads; in POOL_resize_internal() 228 ctx->threadLimit = numThreads; in POOL_resize_internal() 317 (void)numThreads; in POOL_create_advanced() [all …]
|
| H A D | pool.h | 31 POOL_ctx* POOL_create(size_t numThreads, size_t queueSize); 33 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, 50 int POOL_resize(POOL_ctx* ctx, size_t numThreads);
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/msvc/test_threads/ |
| H A D | test_threads.cpp | 31 static const int numThreads = narenas + 1, numAllocsMax = 25, numIter1 = 50, numIter2 = 50; in test_threads() local 38 printf("Starting %d threads x %d x %d iterations...\n", numThreads, numIter1, numIter2); in test_threads() 39 for (int i = 0; i < numThreads; i++) { in test_threads()
|
| /f-stack/freebsd/contrib/zstd/lib/ |
| H A D | zstd.h | 1512 ZSTDLIB_API ZSTD_threadPool* ZSTD_createThreadPool(size_t numThreads);
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 7087 if (!numThreads) { return NULL; } in POOL_create_advanced() 7117 for (i = 0; i < numThreads; ++i) { in POOL_create_advanced() 7123 ctx->threadCapacity = numThreads; in POOL_create_advanced() 7124 ctx->threadLimit = numThreads; in POOL_create_advanced() 7171 if (numThreads <= ctx->threadCapacity) { in POOL_resize_internal() 7172 if (!numThreads) return 1; in POOL_resize_internal() 7173 ctx->threadLimit = numThreads; in POOL_resize_internal() 7192 ctx->threadCapacity = numThreads; in POOL_resize_internal() 7193 ctx->threadLimit = numThreads; in POOL_resize_internal() 7282 (void)numThreads; in POOL_create_advanced() [all …]
|