Lines Matching refs:numThreads

499   HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg);
553 HRESULT CEncoderInfo::Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rgLoc) in Init() argument
590 props[1].ulVal = numThreads; in Init()
668 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback) in LzmaBench()
672 (numThreads > 1 ? numThreads / 2 : 1); in LzmaBench()
678 (numThreads > 1 ? 2 : 1); in LzmaBench()
682 …if (dictionarySize < (1 << kBenchMinDicLogSize) || numThreads < 1 || numEncoderThreads > kNumThrea… in LzmaBench()
713 RINOK(encoders[i].Init(dictionarySize, numThreads, &rg)); in LzmaBench()
865 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary) in GetBenchMemoryUsage() argument
869 UInt32 numSubThreads = (numThreads > 1) ? 2 : 1; in GetBenchMemoryUsage()
870 UInt32 numBigThreads = numThreads / numSubThreads; in GetBenchMemoryUsage()
872 GetLZMAUsage((numThreads > 1), dictionary) + (2 << 20)) * numBigThreads; in GetBenchMemoryUsage()
969 HRESULT CrcBench(UInt32 numThreads, UInt32 bufferSize, UInt64 &speed) in CrcBench() argument
971 if (numThreads == 0) in CrcBench()
972 numThreads = 1; in CrcBench()
975 size_t totalSize = (size_t)bufferSize * numThreads; in CrcBench()
976 if (totalSize / numThreads != bufferSize) in CrcBench()
988 if (numThreads > 1) in CrcBench()
990 threads.Items = new CCrcInfo[numThreads]; in CrcBench()
992 for (i = 0; i < numThreads; i++) in CrcBench()
1002 for (i = 0; i < numThreads; i++) in CrcBench()
1009 for (i = 0; i < numThreads; i++) in CrcBench()