Home
last modified time | relevance | path

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

/external/zstd/programs/
Dbenchfn.c109 unsigned nbLoops) in BMK_benchFunction() argument
112 nbLoops += !nbLoops; /* minimum nbLoops is 1 */ in BMK_benchFunction()
124 for (loopNb = 0; loopNb < nbLoops; loopNb++) { in BMK_benchFunction()
142 rt.nanoSecPerRun = (double)totalTime / nbLoops; in BMK_benchFunction()
156 unsigned nbLoops; member
194 timedFnState->nbLoops = 1; in BMK_resetTimedFnState()
220 BMK_runOutcome_t const runResult = BMK_benchFunction(p, cont->nbLoops); in BMK_benchTimedFn()
227 double const loopDuration_ns = newRunTime.nanoSecPerRun * cont->nbLoops; in BMK_benchTimedFn()
234 cont->nbLoops = (unsigned)(runBudget_ns / fastestRun_ns) + 1; in BMK_benchTimedFn()
238 assert(cont->nbLoops < ((unsigned)-1) / multiplier); /* avoid overflow */ in BMK_benchTimedFn()
[all …]
Dbenchfn.h110 BMK_runOutcome_t BMK_benchFunction(BMK_benchParams_t params, unsigned nbLoops);
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c116 void BMK_SetNbIterations(unsigned nbLoops) in BMK_SetNbIterations() argument
118 g_nbIterations = nbLoops; in BMK_SetNbIterations()
234 U32 nbLoops = 0; in BMK_benchMem() local
258 nbLoops++; in BMK_benchMem()
287 nbLoops++; in BMK_benchMem()
328 nbLoops++; in BMK_benchMem()
361 nbLoops++; in BMK_benchMem()
365 if (clockSpan < fastestC*nbLoops) fastestC = clockSpan / nbLoops; in BMK_benchMem()
388 U32 nbLoops = 0; in BMK_benchMem() local
407 nbLoops++; in BMK_benchMem()
[all …]
/external/lz4/programs/
Dbench.c256 U32 nbLoops; in BMK_benchMem() local
257 for (nbLoops=0; nbLoops < nbCompressionLoops; nbLoops++) { in BMK_benchMem()
297 U32 nbLoops; in BMK_benchMem() local
298 for (nbLoops=0; nbLoops < nbDecodeLoops; nbLoops++) { in BMK_benchMem()
Dbench.h32 void BMK_setNbSeconds(unsigned nbLoops);
/external/lz4/tests/
Dfullbench.c113 static void BMK_setNbIterations(int nbLoops) in BMK_setNbIterations() argument
115 g_nbIterations = nbLoops; in BMK_setNbIterations()