Lines Matching refs:elapsed
147 double elapsed, elapsedDecode; in decomp() local
189 elapsed = elapsedDecode = 0.; in decomp()
218 elapsed += getTime() - start; in decomp()
221 if (elapsed >= benchTime) break; in decomp()
222 } else if (elapsed >= warmup) { in decomp()
224 elapsed = elapsedDecode = 0.; in decomp()
227 if (doYUV) elapsed -= elapsedDecode; in decomp()
234 sigfig((double)(w * h) / 1000000. * (double)iter / elapsed, 4, in decomp()
244 doYUV ? "Decomp to YUV" : "Decompress ", (double)iter / elapsed); in decomp()
246 (double)(w * h) / 1000000. * (double)iter / elapsed); in decomp()
320 double start, elapsed, elapsedEncode; in fullTest() local
385 elapsed = elapsedEncode = 0.; in fullTest()
418 elapsed += getTime() - start; in fullTest()
421 if (elapsed >= benchTime) break; in fullTest()
422 } else if (elapsed >= warmup) { in fullTest()
424 elapsed = elapsedEncode = 0.; in fullTest()
427 if (doYUV) elapsed -= elapsedEncode; in fullTest()
440 sigfig((double)(w * h) / 1000000. * (double)iter / elapsed, 4, in fullTest()
462 (double)iter / elapsed); in fullTest()
468 (double)(w * h) / 1000000. * (double)iter / elapsed); in fullTest()
470 (double)totalJpegSize * 8. / 1000000. * (double)iter / elapsed); in fullTest()
527 double start, elapsed; in decompTest() local
661 elapsed = 0.; in decompTest()
667 elapsed += getTime() - start; in decompTest()
670 if (elapsed >= benchTime) break; in decompTest()
671 } else if (elapsed >= warmup) { in decompTest()
673 elapsed = 0.; in decompTest()
684 sigfig((double)(w * h) / 1000000. / elapsed, 4, tempStr, 80), in decompTest()
691 1.0 / elapsed); in decompTest()
697 (double)(w * h) / 1000000. / elapsed); in decompTest()
699 (double)totalJpegSize * 8. / 1000000. / elapsed); in decompTest()