Home
last modified time | relevance | path

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

/lz4-3.4.0-2.7.6/programs/
Dbench.c373 …U32 nbCompressionLoops = (U32)((5 MB) / (srcSize+1)) + 1; /* conservative initial compression spe… in BMK_benchMem() local
403 for (nbLoops=0; nbLoops < nbCompressionLoops; nbLoops++) { in BMK_benchMem()
416 if (clockSpan < fastestC * nbCompressionLoops) in BMK_benchMem()
417 fastestC = clockSpan / nbCompressionLoops; in BMK_benchMem()
419nbCompressionLoops = (U32)(TIMELOOP_NANOSEC / fastestC) + 1; /* aim for ~1sec */ in BMK_benchMem()
421 assert(nbCompressionLoops < 40000000); /* avoid overflow */ in BMK_benchMem()
422 nbCompressionLoops *= 100; in BMK_benchMem()