/external/skia/tools/kilobench/ |
D | kilobench.cpp | 72 DEFINE_int32(loops, kDefaultLoops, loops_help_txt().c_str()); 268 static int detect_forever_loops(int loops) { in detect_forever_loops() argument 270 if (loops < 0) { in detect_forever_loops() 271 loops = SK_MaxS32; in detect_forever_loops() 273 return loops; in detect_forever_loops() 276 static int clamp_loops(int loops) { in clamp_loops() argument 277 if (loops < 1) { in clamp_loops() 279 "There's probably something wrong with the bench.\n", loops); in clamp_loops() 282 if (loops > FLAGS_maxLoops) { in clamp_loops() 283 SkDebugf("WARNING: clamping loops from %d to FLAGS_maxLoops, %d.\n", loops, FLAGS_maxLoops); in clamp_loops() [all …]
|
/external/skia/bench/ |
D | GeometryBench.cpp | 68 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 69 for (int outer = 0; outer < loops; ++outer) { in onDraw() 85 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 86 for (int outer = 0; outer < loops; ++outer) { in onDraw() 102 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 103 for (int outer = 0; outer < loops; ++outer) { in onDraw() 118 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 119 for (int outer = 0; outer < loops; ++outer) { in onDraw() 151 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 153 for (int outer = 0; outer < loops; ++outer) { in onDraw() [all …]
|
D | RefCntBench.cpp | 30 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 31 for (int i = 0; i < loops; ++i) { in onDraw() 54 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 55 for (int i = 0; i < loops; ++i) { in onDraw() 76 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 77 for (int i = 0; i < loops; ++i) { in onDraw() 110 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 112 for (int i = 0; i < loops; ++i) { in onDraw() 137 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 138 for (int i = 0; i < loops; ++i) { in onDraw() [all …]
|
D | CmapBench.cpp | 23 typedef void (*TypefaceProc)(int loops, const SkPaint&, const void* text, size_t len, 26 static void containsText_proc(int loops, const SkPaint& paint, const void* text, size_t len, in containsText_proc() argument 28 for (int i = 0; i < loops; ++i) { in containsText_proc() 33 static void textToGlyphs_proc(int loops, const SkPaint& paint, const void* text, size_t len, in textToGlyphs_proc() argument 38 for (int i = 0; i < loops; ++i) { in textToGlyphs_proc() 43 static void charsToGlyphs_proc(int loops, const SkPaint& paint, const void* text, in charsToGlyphs_proc() argument 50 for (int i = 0; i < loops; ++i) { in charsToGlyphs_proc() 55 static void charsToGlyphsNull_proc(int loops, const SkPaint& paint, const void* text, in charsToGlyphsNull_proc() argument 60 for (int i = 0; i < loops; ++i) { in charsToGlyphsNull_proc() 88 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument [all …]
|
D | LightingBench.cpp | 23 void draw(int loops, SkCanvas* canvas, SkImageFilter* imageFilter) const { in draw() argument 28 for (int i = 0; i < loops; i++) { in draw() 110 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 111 draw(loops, canvas, SkLightingImageFilter::CreatePointLitDiffuse(GetPointLocation(), in onDraw() 131 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 132 draw(loops, canvas, SkLightingImageFilter::CreateDistantLitDiffuse(GetDistantDirection(), in onDraw() 152 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 153 draw(loops, canvas, SkLightingImageFilter::CreateSpotLitDiffuse(GetSpotLocation(), in onDraw() 176 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 177 draw(loops, canvas, SkLightingImageFilter::CreatePointLitSpecular(GetPointLocation(), in onDraw() [all …]
|
D | ColorFilterBench.cpp | 77 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 82 for (int i = 0; i < loops; i++) { in onDraw() 107 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 111 for (int i = 0; i < loops; i++) { in onDraw() 134 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 138 for (int i = 0; i < loops; i++) { in onDraw() 161 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 165 for (int i = 0; i < loops; i++) { in onDraw() 188 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 192 for (int i = 0; i < loops; i++) { in onDraw() [all …]
|
D | MemsetBench.cpp | 23 void onDraw(int loops, SkCanvas*) override; 31 template <> void MemsetBench<uint32_t, false>::onDraw(int loops, SkCanvas*) { in onDraw() argument 32 for (int i = 0; i < 1000*loops; i++) { in onDraw() 37 template <> void MemsetBench<uint16_t, false>::onDraw(int loops, SkCanvas*) { in onDraw() argument 38 for (int i = 0; i < 1000*loops; i++) { in onDraw() 48 template <> void MemsetBench<uint32_t, true>::onDraw(int loops, SkCanvas*) { in onDraw() argument 49 for (int i = 0; i < 1000*loops; i++) { in onDraw() 54 template <> void MemsetBench<uint16_t, true>::onDraw(int loops, SkCanvas*) { in onDraw() argument 55 for (int i = 0; i < 1000*loops; i++) { in onDraw()
|
D | nanobench.cpp | 89 DEFINE_int32(loops, kDefaultLoops, loops_help_txt().c_str()); 219 static double time(int loops, Benchmark* bench, Target* target) { in time() argument 227 bench->draw(loops, canvas); in time() 246 static int detect_forever_loops(int loops) { in detect_forever_loops() argument 248 if (loops < 0) { in detect_forever_loops() 249 loops = SK_MaxS32; in detect_forever_loops() 251 return loops; in detect_forever_loops() 254 static int clamp_loops(int loops) { in clamp_loops() argument 255 if (loops < 1) { in clamp_loops() 257 "There's probably something wrong with the bench.\n", loops); in clamp_loops() [all …]
|
D | PathBench.cpp | 54 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() argument 65 int count = loops; in onDraw() 332 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 333 for (int i = 0; i < loops; ++i) { in onDraw() 366 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 367 for (int i = 0; i < loops; ++i) { in onDraw() 406 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 408 for (int i = 0; i < loops; ++i) { in onDraw() 412 for (int i = 0; i < loops; ++i) { in onDraw() 453 void onDraw(int loops, SkCanvas*) override { in onDraw() argument [all …]
|
D | MathBench.cpp | 56 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 57 int n = loops * this->mulLoopCount(); in onDraw() 290 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 297 for (int j = 0; j < loops; ++j) { in onDraw() 303 for (int j = 0; j < loops; ++j) { in onDraw() 360 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 366 for (int j = 0; j < loops; ++j) { in onDraw() 373 for (int j = 0; j < loops; ++j) { in onDraw() 422 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 426 for (int j = 0; j < loops; ++j) { in onDraw() [all …]
|
D | GrMemoryPoolBench.cpp | 46 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 56 const int kSwitchThreshPeriod = loops / (2 * kMaxObjects); in onDraw() 60 for (int i = 0; i < loops; i++, ++s) { in onDraw() 108 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 115 for (int i = 0; i < loops; i++) { in onDraw() 156 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 159 for (int i = 0; i < loops; i++) { in onDraw()
|
D | Sk4fBench.cpp | 31 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() 33 while (loops --> 0) { in onDraw() 49 void onDraw(int loops, SkCanvas* canvas) override { in onDraw() 51 while (loops --> 0) { in onDraw() 64 void onDraw(int loops, SkCanvas*) override { in onDraw() 73 for (int n = 0; n < loops; n++) { in onDraw()
|
D | PDFBench.cpp | 61 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 65 while (loops-- > 0) { in onDraw() 99 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 104 while (loops-- > 0) { in onDraw() 134 void onDraw(int loops, SkCanvas*) override { in onDraw() argument 137 while (loops-- > 0) { in onDraw()
|
D | AAClipBench.cpp | 46 virtual void onDraw(int loops, SkCanvas* canvas) { in onDraw() argument 51 for (int i = 0; i < loops; ++i) { in onDraw() 161 virtual void onDraw(int loops, SkCanvas* canvas) { in onDraw() argument 163 for (int i = 0; i < loops; ++i) { in onDraw() 198 virtual void onDraw(int loops, SkCanvas*) { in onDraw() argument 202 for (int i = 0; i < loops; ++i) { in onDraw() 233 virtual void onDraw(int loops, SkCanvas*) { in onDraw() argument 234 for (int i = 0; i < loops; ++i) { in onDraw()
|
/external/icu/icu4c/source/tools/ctestfw/ |
D | uperf.cpp | 349 int32_t loops = 0; in runTestLoop() local 387 if (loops == 0 || t == 0) { in runTestLoop() 388 loops = failsafe; in runTestLoop() 392 loops = (int)((double)n / t * loops + 0.5); in runTestLoop() 393 if (loops == 0) { in runTestLoop() 399 t = testFunction->time(loops,&status); in runTestLoop() 406 loops = iterations; in runTestLoop() 416 fprintf(stdout, "%i\n", (int)loops); in runTestLoop() 423 t = testFunction->time(loops, &status); in runTestLoop() 436 … fprintf(stdout, "= %s end: %f loops: %i operations: %li \n", name, t, (int)loops, ops); in runTestLoop() [all …]
|
/external/v8/test/cctest/compiler/ |
D | test-loop-assignment-analysis.cc | 74 const char* loops[] = { in TEST() local 82 for (size_t i = 0; i < arraysize(loops); i++) { in TEST() 83 TestHelper f(loops[i]); in TEST() 90 const char* loops[] = { in TEST() local 94 for (size_t i = 0; i < arraysize(loops); i++) { in TEST() 95 TestHelper f(loops[i]); in TEST() 169 const char* loops[] = { in TEST() local 204 for (size_t i = 0; i < arraysize(loops); i++) { in TEST() 205 TestHelper f(loops[i]); in TEST() 212 const char* loops[] = { in TEST() local [all …]
|
/external/autotest/client/site_tests/hardware_PerfCounterVerification/src/ |
D | noploop.c | 4 unsigned long loops = 10000000; // 10 million in main() local 6 loops = strtoul(argv[1], NULL, 10); in main() 7 if (loops < 1) { in main() 8 loops = 1; in main() 13 while (--loops) { in main()
|
D | iTLB_benchmark.c | 5 unsigned long loops = 1000; in main() local 7 loops = strtoul(argv[1], NULL, 10); in main() 8 if (loops < 1) { in main() 9 loops = 1; in main() 13 while (--loops) { in main()
|
/external/autotest/client/site_tests/hardware_TLBMissCost/src/ |
D | iTLB_benchmark.c | 5 unsigned long loops = 1000; in main() local 7 loops = strtoul(argv[1], NULL, 10); in main() 8 if (loops < 1) { in main() 9 loops = 1; in main() 13 while (--loops) { in main()
|
/external/autotest/server/site_tests/stress_ClientTestReboot/ |
D | control | 23 --args="testname=NAME loops=N" 29 if 'testname' in args_dict and 'loops' in args_dict: 31 loops = int(args_dict.get('loops')) 33 testname=testname, loops=loops) 37 '"testname=<test> loops=<number>"')
|
/external/autotest/client/site_tests/kernel_PerfEventRename/src/ |
D | perf-rename-test.c | 14 static int do_something(int seed, unsigned int loops) { in do_something() argument 16 for (i = 0; i < loops; i++) { in do_something() 25 int loops; in main() local 34 loops = strtoul(argv[2], NULL, 10); in main() 40 do_something(rand(), loops); in main()
|
/external/deqp/android/cts/master/src/ |
D | gles2-failures.txt | 1473 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.101_iterations_vertex 1474 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.basic_highp_float_vertex 1475 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.basic_highp_int_vertex 1476 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.basic_lowp_float_vertex 1477 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.basic_lowp_int_vertex 1478 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.basic_mediump_float_vertex 1479 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.basic_mediump_int_vertex 1480 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.compound_statement_fragment 1481 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.compound_statement_vertex 1482 dEQP-GLES2.functional.shaders.loops.do_while_constant_iterations.conditional_break_vertex [all …]
|
/external/autotest/client/site_tests/hardware_PerfCounterVerification/ |
D | perf_lbr_verification.py | 119 def EstimateExpectedSamples(loops, count): argument 137 all_branches = loops 138 loop_samples = loops/(count-1) 214 loops = (i+1) * 10000000 # (i+1) * 10 million 215 fact = {'loops': loops} 216 perf_data = 'perf.lbr.noploop.%d.%d.data' % (loops, j) 221 noploop, '%d' % loops), 229 total_expected_samples = EstimateExpectedSamples(loops, count)
|
/external/skia/tools/VisualBench/ |
D | VisualLightweightBenchModule.cpp | 77 void VisualLightweightBenchModule::renderFrame(SkCanvas* canvas, Benchmark* benchmark, int loops) { in renderFrame() argument 78 benchmark->draw(loops, canvas); in renderFrame() 82 void VisualLightweightBenchModule::printStats(Benchmark* benchmark, int loops) { in printStats() argument 130 loops, in printStats() 142 bool VisualLightweightBenchModule::timingFinished(Benchmark* benchmark, int loops, in timingFinished() argument 146 this->printStats(benchmark, loops); in timingFinished()
|
/external/srtp/ |
D | config.log | 80 configure:1746: gcc -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 90 configure:1840: gcc -o conftest -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 94 configure:1895: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 98 configure:1948: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 116 configure:2124: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 124 configure:2179: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 176 configure:2799: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 183 configure:2907: gcc -o conftest -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 192 configure:2970: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 201 configure:2970: gcc -c -Wall -O4 -fexpensive-optimizations -funroll-loops conftest.c >&5 [all …]
|