Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/programs/
H A Dbench.c276 …U32 nbCompressionLoops = (U32)((2 MB) / (srcSize+1)) + 1; /* initial conservative speed estimate … in BMK_benchMem() local
325 if (!g_nbSeconds) nbCompressionLoops=1; in BMK_benchMem()
326 for (nbLoops=0; nbLoops<nbCompressionLoops; nbLoops++) { in BMK_benchMem()
358 if (loopDuration < fastestC * nbCompressionLoops) in BMK_benchMem()
359 fastestC = loopDuration / nbCompressionLoops; in BMK_benchMem()
360 nbCompressionLoops = (U32)(TIMELOOP_NANOSEC / fastestC) + 1; in BMK_benchMem()
362 assert(nbCompressionLoops < 40000000); /* avoid overflow */ in BMK_benchMem()
363 nbCompressionLoops *= 100; in BMK_benchMem()