Home
last modified time | relevance | path

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

/third_party/lz4/programs/
H A Dbench.c428 U32 nbCompressionLoops = (U32)((5 MB) / (srcSize+1)) + 1; /* conservative initial compression speed estimate */ in BMK_benchMem() local
458 for (nbLoops=0; nbLoops < nbCompressionLoops; nbLoops++) { in BMK_benchMem()
471 if (clockSpan < fastestC * nbCompressionLoops) in BMK_benchMem()
472 fastestC = clockSpan / nbCompressionLoops; in BMK_benchMem()
474 nbCompressionLoops = (U32)(TIMELOOP_NANOSEC / fastestC) + 1; /* aim for ~1sec */ in BMK_benchMem()
476 assert(nbCompressionLoops < 40000000); /* avoid overflow */ in BMK_benchMem()
477 nbCompressionLoops *= 100; in BMK_benchMem()

Completed in 4 milliseconds