Home
last modified time | relevance | path

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

/external/lz4/programs/
Dbench.c223 { U64 fastestC = (U64)(-1LL), fastestD = (U64)(-1LL); in BMK_benchMem() local
287 (void)fastestD; (void)crcOrig; /* unused when decompression disabled */ in BMK_benchMem()
310 if (clockSpan < fastestD * nbDecodeLoops) in BMK_benchMem()
311 fastestD = clockSpan / nbDecodeLoops; in BMK_benchMem()
312 assert(fastestD > 0); in BMK_benchMem()
313 nbDecodeLoops = (U32)(TIMELOOP_NANOSEC / fastestD) + 1; /* aim for ~1sec */ in BMK_benchMem()
326 ((double)srcSize / fastestD) * 1000); in BMK_benchMem()
357 double const dSpeed = ((double)srcSize / fastestD) * 1000; in BMK_benchMem()
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c200 { U64 fastestC = (U64)(-1LL), fastestD = (U64)(-1LL); in BMK_benchMem() local
378 (void)fastestD; (void)crcOrig; /* unused when decompression disabled */ in BMK_benchMem()
507 if (clockSpan < fastestD*nbLoops) fastestD = clockSpan / nbLoops; in BMK_benchMem()
516 (double)srcSize / fastestD ); in BMK_benchMem()
547 double dSpeed = (double)srcSize / fastestD; in BMK_benchMem()