Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/xxhash/tests/bench/
Dbenchfn.c107 unsigned nbLoops) in BMK_benchFunction() argument
119 nbLoops += !nbLoops; /* minimum nbLoops is 1 */ in BMK_benchFunction()
121 for (loopNb = 0; loopNb < nbLoops; loopNb++) { in BMK_benchFunction()
139 rt.nanoSecPerRun = (double)totalTime / nbLoops; in BMK_benchFunction()
153 unsigned nbLoops; member
191 timedFnState->nbLoops = 1; in BMK_resetTimedFnState()
216 BMK_runOutcome_t const runResult = BMK_benchFunction(p, cont->nbLoops); in BMK_benchTimedFn()
223 double const loopDuration_ns = newRunTime.nanoSecPerRun * cont->nbLoops; in BMK_benchTimedFn()
230 cont->nbLoops = (unsigned)(runBudget_ns / fastestRun_ns) + 1; in BMK_benchTimedFn()
234 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/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()
302 nbLoops++; in BMK_benchMem()
343 nbLoops++; in BMK_benchMem()
376 nbLoops++; in BMK_benchMem()
380 if (clockSpan < fastestC*nbLoops) fastestC = clockSpan / nbLoops; in BMK_benchMem()
403 U32 nbLoops = 0; in BMK_benchMem() local
422 nbLoops++; in BMK_benchMem()
[all …]
/external/lz4/programs/
Dbench.c457 U32 nbLoops; in BMK_benchMem() local
458 for (nbLoops=0; nbLoops < nbCompressionLoops; nbLoops++) { in BMK_benchMem()
507 U32 nbLoops; in BMK_benchMem() local
509 for (nbLoops=0; nbLoops < nbDecodeLoops; nbLoops++) { in BMK_benchMem()
/external/lz4/tests/
Dfullbench.c113 static void BMK_setNbIterations(int nbLoops) in BMK_setNbIterations() argument
115 g_nbIterations = nbLoops; in BMK_setNbIterations()