Home
last modified time | relevance | path

Searched refs:elapsedTime (Results 1 – 25 of 64) sorted by relevance

123

/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java290 long elapsedTime = endTime - startTime; in doQSort() local
291 int ns = (int)(1000000 * elapsedTime / (globalCount + 0.0)); in doQSort()
313 long elapsedTime = 0; in doBinarySearch() local
354 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
385 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
424 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
462 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
467 int ns = (int)((float)(1000000) * (float)elapsedTime / (float)gCount); in doBinarySearch()
518 long elapsedTime = System.currentTimeMillis() - startTime; in doKeyGen() local
519 long ns = (long)(1000000 * elapsedTime / (adj_loopCount * tests.length + 0.0)); in doKeyGen()
[all …]
/external/lzma/Java/SevenZip/
DLzmaBench.java222 static long MyMultDiv64(long value, long elapsedTime) in MyMultDiv64() argument
225 long elTime = elapsedTime; in MyMultDiv64()
236 static long GetCompressRating(int dictionarySize, long elapsedTime, long size) in GetCompressRating() argument
241 return MyMultDiv64(numCommands, elapsedTime); in GetCompressRating()
244 static long GetDecompressRating(long elapsedTime, long outSize, long inSize) in GetDecompressRating() argument
247 return MyMultDiv64(numCommands, elapsedTime); in GetDecompressRating()
277 long elapsedTime, in PrintResults() argument
281 long speed = MyMultDiv64(size, elapsedTime); in PrintResults()
286 rating = GetDecompressRating(elapsedTime, size, secondSize); in PrintResults()
288 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs172 static UInt64 MyMultDiv64(UInt64 value, UInt64 elapsedTime) in MyMultDiv64() argument
175 UInt64 elTime = elapsedTime; in MyMultDiv64()
186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size) in GetCompressRating() argument
191 return MyMultDiv64(numCommands, elapsedTime); in GetCompressRating()
194 static UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 outSize, UInt64 inSize) in GetDecompressRating() argument
197 return MyMultDiv64(numCommands, elapsedTime); in GetDecompressRating()
226 UInt64 elapsedTime, in PrintResults() argument
230 UInt64 speed = MyMultDiv64(size, elapsedTime); in PrintResults()
235 rating = GetDecompressRating(elapsedTime, size, secondSize); in PrintResults()
237 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults()
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp422 unsigned long elapsedTime = timeGetTime() - startTime; in doKeyGen() local
423 int ns = (int)(float(1000000) * (float)elapsedTime / (float)(adj_loopCount*gNumFileLines)); in doKeyGen()
470 unsigned long elapsedTime = 0; in doBinarySearch() local
518 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
570 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
626 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
672 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
678 int ns = (int)(float(1000000) * (float)elapsedTime / (float)gCount); in doBinarySearch()
761 unsigned long elapsedTime = timeGetTime() - startTime; in doQSort() local
762 int ns = (int)(float(1000000) * (float)elapsedTime / (float)gCount); in doQSort()
[all …]
/external/vogar/src/vogar/
DConsole.java286 private String formatElapsedTime(long elapsedTime) { in formatElapsedTime() argument
287 if (elapsedTime < 0) { in formatElapsedTime()
292 if (elapsedTime >= DAY_MILLIS) { in formatElapsedTime()
293 long days = elapsedTime / DAY_MILLIS; in formatElapsedTime()
295 } else if (elapsedTime >= HOUR_MILLIS) { in formatElapsedTime()
296 long hours = elapsedTime / HOUR_MILLIS; in formatElapsedTime()
302 Color color = elapsedTimeWarningColor(elapsedTime); in formatElapsedTime()
306 private Color elapsedTimeWarningColor(long elapsedTime) { in elapsedTimeWarningColor() argument
307 if (elapsedTime < WARNING_HOURS * HOUR_MILLIS) { in elapsedTimeWarningColor()
309 } else if (elapsedTime < FAILURE_HOURS * HOUR_MILLIS) { in elapsedTimeWarningColor()
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperf.cpp62 unsigned long elapsedTime = 0;
84 elapsedTime = timeGetTime()-startTime;
120 elapsedTime = timeGetTime()-startTime;
129 int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount));
136 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
Dubrkperfold.cpp286 unsigned long elapsedTime = 0; in doForwardTest() local
310 elapsedTime = timeGetTime()-startTime; in doForwardTest()
346 elapsedTime = timeGetTime()-startTime; in doForwardTest()
355 int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount)); in doForwardTest()
362 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); in doForwardTest()
372 unsigned long elapsedTime = 0; in doIsBoundTest() local
397 elapsedTime = timeGetTime()-startTime; in doIsBoundTest()
398 int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount)); in doIsBoundTest()
406 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); in doIsBoundTest()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DProfiler.java137 public long elapsedTime() { in elapsedTime() method in Profiler
138 return globalStopWatch.elapsedTime(); in elapsedTime()
159 long totalElapsed = globalStopWatch.elapsedTime(); in sanityCheck()
163 childTotal += ti.elapsedTime(); in sanityCheck()
256 String timeStr = Util.durationInDurationUnitsAsStr(sw.elapsedTime(), du); in buildStopWatchString()
DStopWatch.java88 buf.append(Util.durationInDurationUnitsAsStr(elapsedTime(), DurationUnit.MICROSECOND)); in toString()
96 public final long elapsedTime() { in elapsedTime() method in StopWatch
/external/junit/src/junit/runner/
DTestRunListener.java15 public void testRunEnded(long elapsedTime); in testRunEnded() argument
16 public void testRunStopped(long elapsedTime); in testRunStopped() argument
/external/opencv3/modules/videostab/src/
Dstabilizer.cpp248 clock_t elapsedTime = clock() - processingStartTime_; in logProcessingTime() local
249 log_->print("\nprocessing time: %.3f sec\n", static_cast<double>(elapsedTime) / CLOCKS_PER_SEC); in logProcessingTime()
418 clock_t elapsedTime = clock() - startTime; in runPrePassIfNecessary() local
420 static_cast<double>(elapsedTime) / CLOCKS_PER_SEC); in runPrePassIfNecessary()
435 elapsedTime = clock() - startTime; in runPrePassIfNecessary()
437 static_cast<double>(elapsedTime) / CLOCKS_PER_SEC); in runPrePassIfNecessary()
/external/skia/platform_tools/android/examples/hello_skia_app/jni/
Dhelloskia.cpp21 jobject thiz, jobject dstBitmap, jlong elapsedTime) in Java_com_example_HelloSkiaActivity_drawIntoBitmap() argument
62 float offset = elapsedTime / 1000.0f; in Java_com_example_HelloSkiaActivity_drawIntoBitmap()
/external/lzma/CPP/7zip/UI/Common/
DBench.h32 UInt64 GetCompressRating(UInt32 dictSize, UInt64 elapsedTime, UInt64 freq, UInt64 size);
33 UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt64 n…
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()

123