/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
D | Timer.java | 19 private int iterations; field in Timer 45 return iterations; in getIterations() 71 public String toString(long iterations) { in toString() argument 72 return nf.format(getDuration()/iterations) + "\tns"; in toString() 75 public String toString(long iterations, long other) { in toString() argument 76 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString() 103 iterations = 1; in timeIterations() 108 loop.time(iterations); in timeIterations() 111 duration /= iterations; in timeIterations() 114 duration /= iterations; in timeIterations() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
D | Timer.java | 20 private int iterations; field in Timer 46 return iterations; in getIterations() 72 public String toString(long iterations) { in toString() argument 73 return nf.format(getDuration()/iterations) + "\tns"; in toString() 76 public String toString(long iterations, long other) { in toString() argument 77 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString() 104 iterations = 1; in timeIterations() 109 loop.time(iterations); in timeIterations() 112 duration /= iterations; in timeIterations() 115 duration /= iterations; in timeIterations() [all …]
|
/external/autotest/client/tests/dacapo/ |
D | control | 22 iterations = 5 27 iterations = 0 31 iterations = 0 35 iterations = 0 39 iterations = 0 43 iterations = 0 47 iterations = 0 51 iterations = 0 55 iterations = 0 59 iterations = 0 [all …]
|
/external/eigen/bench/btl/generic_bench/timers/ |
D | STL_timer.hh | 37 iterations.clear(); in start() 38 iterations.reserve(reps); in start() 53 iterations.push_back(count); in check() 57 return (iterations.size() < reps); in check() 62 sort(iterations.begin(), iterations.end()); in get_time() 63 return 1.0/iterations[reps/2]; in get_time() 68 vector<long> iterations; member in STL_Timer
|
/external/google-benchmark/src/ |
D | reporter.cc | 36 int64_t const run_iterations = reports.front().iterations; in ComputeStats() 41 CHECK_EQ(run_iterations, run.iterations); in ComputeStats() 43 Stat1_d(run.real_accumulated_time/run.iterations, run.iterations); in ComputeStats() 45 Stat1_d(run.cpu_accumulated_time/run.iterations, run.iterations); in ComputeStats() 46 items_per_second_stat += Stat1_d(run.items_per_second, run.iterations); in ComputeStats() 47 bytes_per_second_stat += Stat1_d(run.bytes_per_second, run.iterations); in ComputeStats() 52 mean_data->iterations = run_iterations; in ComputeStats() 71 stddev_data->iterations = 0; in ComputeStats()
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 27 uint64_t TimeTest(TestBase* test, uint64_t iterations) { in TimeTest() argument 31 if (!test->TestFunc(iterations)) in TimeTest() 73 uint64_t iterations = 1; in Bench() local 78 time = TimeTest(test, iterations); in Bench() 80 iterations, time, time / iterations); in Bench() 87 (iterations + iterations_prev)); in Bench() 90 iterations_prev = iterations; in Bench() 91 iterations *= 2; in Bench() 92 } while (iterations < (1ULL<<40)); in Bench() 169 bool DrawArraysTestFunc::TestFunc(uint64_t iterations) { in TestFunc() argument [all …]
|
/external/vixl/benchmarks/ |
D | bench-branch-link-masm.cc | 37 int iterations = 0; in main() local 40 case 1: iterations = kDefaultIterationsCount; break; in main() 41 case 2: iterations = atoi(argv[1]); break; in main() 47 size_t base_buf_size = iterations * 4 * kInstructionSize; in main() 53 for (int i = 0; i < iterations; i++) { in main() 57 for (int i = 0; i < iterations; i++) { in main() 61 for (int i = 0; i < iterations; i++) { in main() 65 for (int i = 0; i < iterations; i++) { in main()
|
D | bench-branch-masm.cc | 41 int iterations = 0; in main() local 44 case 1: iterations = kDefaultIterationCount; break; in main() 45 case 2: iterations = atoi(argv[1]); break; in main() 60 for (int i = 0; i < iterations;) { in main() 62 for (int j = 0; (j < max_buffer_iterations) && (i < iterations); ++j, ++i) { in main()
|
/external/valgrind/drd/tests/ |
D | pth_barrier.c | 30 int iterations; member 55 for (i = 0; i < p->iterations; i++) in threadfunc() 67 static void barriers_and_races(const int nthread, const int iterations) in barriers_and_races() argument 76 array = malloc(iterations * sizeof(array[0])); in barriers_and_races() 91 t[i].iterations = iterations; in barriers_and_races() 116 int iterations; in main() local 119 iterations = (argc > 2) ? atoi(argv[2]) : 3; in main() 122 barriers_and_races(nthread, iterations); in main()
|
D | annotate_barrier.c | 46 int iterations; member 113 for (i = 0; i < p->iterations; i++) in threadfunc() 125 static void barriers_and_races(const int nthread, const int iterations) in barriers_and_races() argument 134 array = malloc(iterations * sizeof(array[0])); in barriers_and_races() 146 t[i].iterations = iterations; in barriers_and_races() 163 int iterations; in main() local 166 iterations = (argc > 2) ? atoi(argv[2]) : 3; in main() 169 barriers_and_races(nthread, iterations); in main()
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
D | NSEC3PARAM.py | 36 def __init__(self, rdclass, rdtype, algorithm, flags, iterations, salt): argument 40 self.iterations = iterations 48 return '%u %u %u %s' % (self.algorithm, self.flags, self.iterations, salt) 53 iterations = tok.get_uint16() 59 return cls(rdclass, rdtype, algorithm, flags, iterations, salt) 66 self.iterations, l)) 70 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB', 79 return cls(rdclass, rdtype, algorithm, flags, iterations, salt)
|
D | NSEC3.py | 54 def __init__(self, rdclass, rdtype, algorithm, flags, iterations, salt, argument 59 self.iterations = iterations 80 return '%u %u %u %s %s%s' % (self.algorithm, self.flags, self.iterations, 86 iterations = tok.get_uint16() 126 return cls(rdclass, rdtype, algorithm, flags, iterations, salt, next, windows) 133 self.iterations, l)) 144 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB', 173 return cls(rdclass, rdtype, algorithm, flags, iterations, salt, next, windows)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PBEParameter.java | 17 ASN1Integer iterations; field in PBEParameter 22 int iterations) in PBEParameter() argument 29 this.iterations = new ASN1Integer(iterations); in PBEParameter() 36 iterations = (ASN1Integer)seq.getObjectAt(1); in PBEParameter() 56 return iterations.getValue(); in getIterationCount() 69 v.add(iterations); in toASN1Primitive()
|
D | PKCS12PBEParams.java | 17 ASN1Integer iterations; field in PKCS12PBEParams 22 int iterations) in PKCS12PBEParams() argument 25 this.iterations = new ASN1Integer(iterations); in PKCS12PBEParams() 32 iterations = ASN1Integer.getInstance(seq.getObjectAt(1)); in PKCS12PBEParams() 52 return iterations.getValue(); in getIterations() 65 v.add(iterations); in toASN1Primitive()
|
/external/protobuf/benchmarks/ |
D | ProtoBench.java | 163 int iterations = 1; in benchmark() local 164 long elapsed = timeAction(action, iterations); in benchmark() 166 iterations *= 2; in benchmark() 167 elapsed = timeAction(action, iterations); in benchmark() 172 iterations = (int) ((TARGET_TIME_MS / (double) elapsed) * iterations); in benchmark() 173 elapsed = timeAction(action, iterations); in benchmark() 174 System.out.println(name + ": " + iterations + " iterations in " in benchmark() 176 + (iterations * dataSize) / (elapsed * 1024 * 1024 / 1000f) in benchmark() 180 private static long timeAction(Action action, int iterations) throws IOException { in timeAction() argument 183 for (int i = 0; i < iterations; i++) { in timeAction()
|
/external/autotest/tko/ |
D | machine_aggr.cgi | 88 iterations = test.iterations() 89 if iterations.has_key(key): 90 reference_value = sum(iterations[key])/len(iterations[key]) 95 iterations = test.iterations() 96 if iterations.has_key(key): 103 results = [((reference_value / i - 1)*100) for i in iterations[key]] 105 results = [((i / reference_value - 1)*100) for i in iterations[key]]
|
/external/opencv3/modules/imgproc/src/ |
D | morph.cpp | 1096 iterations = _iterations; in MorphologyRunner() 1121 for( int i = 1; i < iterations; i++ ) in operator ()() 1129 int iterations; member in cv::MorphologyRunner 1264 const Mat& _kernel, Point anchor, int iterations, in IPPMorphOp() argument 1306 if( iterations == 0 || kernel.rows*kernel.cols == 1 ) in IPPMorphOp() 1315 ksize = Size(1+iterations*2,1+iterations*2); in IPPMorphOp() 1316 anchor = Point(iterations, iterations); in IPPMorphOp() 1318 iterations = 1; in IPPMorphOp() 1320 else if( iterations >= 1 && countNonZero(kernel) == kernel.rows*kernel.cols ) in IPPMorphOp() 1322 ksize = Size(ksize.width + (iterations-1)*(ksize.width-1), in IPPMorphOp() [all …]
|
/external/autotest/client/tests/tracing_microbenchmark/src/ |
D | getuid_microbench.c | 29 long iterations, i; in main() local 37 iterations = atol(argv[1]); in main() 38 if (iterations < 0) { in main() 48 for (i = iterations; i; i--) in main() 58 (double)iterations; in main() 59 printf("%ld calls in %ld.%09ld s (%lf ns/call)\n", iterations, in main()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/ |
D | create_timing_table.py | 11 iterations = 0 15 while iterations < 10 or end - start < 2: 16 iterations += 1 21 dur_per_call = duration / iterations 24 dur_per_call, iterations, duration)
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/ |
D | TestUtilities.java | 142 int iterations = 1000; in TestCollectionUtilitySpeed() local 153 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 156 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 157 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed() 160 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument 161 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare() 162 …ouble standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterati… in timeAndCompare() 171 private long timeStandardContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeStandardContainsAll() argument 178 for (int i = 0; i < iterations; ++i) { in timeStandardContainsAll() 190 private long timeUtilityContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeUtilityContainsAll() argument [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TestUtilities.java | 146 int iterations = 1000; in TestCollectionUtilitySpeed() local 157 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 160 timeAndCompare(ts1, ts2, iterations, true, .75); in TestCollectionUtilitySpeed() 161 timeAndCompare(ts2, ts1, iterations*100, false, 1.05); in TestCollectionUtilitySpeed() 164 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare() argument 165 …double utilityTimeSorted = timeUtilityContainsAll(iterations, ts1, ts2, expected)/(double)iteratio… in timeAndCompare() 166 …ouble standardTimeSorted = timeStandardContainsAll(iterations, ts1, ts2, expected)/(double)iterati… in timeAndCompare() 175 private long timeStandardContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeStandardContainsAll() argument 182 for (int i = 0; i < iterations; ++i) { in timeStandardContainsAll() 194 private long timeUtilityContainsAll(int iterations, Set hs1, Set hs2, boolean expected) { in timeUtilityContainsAll() argument [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/ |
D | animation-node.js | 8 assert.equal(calculateActiveDuration({duration: 1000, playbackRate: 4, iterations: 20}), 5000); property 9 …assert.equal(calculateActiveDuration({duration: 500, playbackRate: 0.1, iterations: 300}), 1500000… property 74 …assert.equal(calculateIterationTime(500, 5000, 600, 100, {iterations: 10, iterationStart: 0}), 100… property 75 …assert.equal(calculateIterationTime(500, 5000, Infinity, 100, {iterations: 10, iterationStart: 0})… property 76 …assert.equal(calculateIterationTime(500, 5000, 5100, 100, {iterations: 3.2, iterationStart: 0.8}),… property 80 …assert.equal(calculateCurrentIteration(1000, 400, 4400, {iterations: 50, iterationStart: 0.8}), 4); property 81 …assert.equal(calculateCurrentIteration(1000, 1000, 4400, {iterations: 50.2, iterationStart: 0.8}),… property 94 …var timing = normalizeTimingInput({duration: 1000, iterations: 4, iterationStart: 0.5, easing: 'li… property 95 …var timing2 = normalizeTimingInput({duration: 1000, iterations: 4, iterationStart: 0.5, easing: 'e… property
|
/external/mesa3d/src/glsl/ |
D | loop_unroll.cpp | 90 int iterations; in visit_leave() local 100 iterations = ls->max_iterations; in visit_leave() 105 if (iterations < 0) in visit_leave() 110 if (iterations > (int) max_iterations) in visit_leave() 117 if (count.fail || count.nodes * iterations > (int)max_iterations * 5) in visit_leave() 132 iterations = 1; in visit_leave() 195 for (int i = 0; i < iterations; i++) { in visit_leave() 226 for (int i = 0; i < iterations; i++) { in visit_leave()
|
/external/autotest/client/tests/kernbench/ |
D | kernbench.old | 6 iterations = 1 9 print "kernbench [-j threads] [-i iterations] [-c config] [-k kernel]" 19 global threads,iterations,config,kernelver 27 iterations = int(a) 38 print "kernbench -j %d -i %d -c %s -k %s" % (threads, iterations, config, kernelver) 44 for i in range(1, iterations+1):
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/ |
D | TestFastLexer.cs | 53 int iterations = 5; in TestBasicFastLexer() 55 IterateFast( text, iterations ); in TestBasicFastLexer() 56 Iterate( text, iterations ); in TestBasicFastLexer() 58 var time = Iterate( text, iterations ); in TestBasicFastLexer() 59 var timeFast = IterateFast( text, iterations ); in TestBasicFastLexer()
|