Home
last modified time | relevance | path

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

12

/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java292 long elapsedTime = endTime - startTime; in doQSort() local
293 int ns = (int)(1000000 * elapsedTime / (globalCount + 0.0)); in doQSort()
315 long elapsedTime = 0; in doBinarySearch() local
356 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
387 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
426 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
464 elapsedTime = System.currentTimeMillis() - startTime; in doBinarySearch()
469 int ns = (int)((float)(1000000) * (float)elapsedTime / (float)gCount); in doBinarySearch()
520 long elapsedTime = System.currentTimeMillis() - startTime; in doKeyGen() local
521 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/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp426 unsigned long elapsedTime = timeGetTime() - startTime; in doKeyGen() local
427 int ns = (int)(float(1000000) * (float)elapsedTime / (float)(adj_loopCount*gNumFileLines)); in doKeyGen()
474 unsigned long elapsedTime = 0; in doBinarySearch() local
522 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
574 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
630 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
676 elapsedTime = timeGetTime() - startTime; in doBinarySearch()
682 int ns = (int)(float(1000000) * (float)elapsedTime / (float)gCount); in doBinarySearch()
765 unsigned long elapsedTime = timeGetTime() - startTime; in doQSort() local
766 int ns = (int)(float(1000000) * (float)elapsedTime / (float)gCount); in doQSort()
[all …]
/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/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/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DIntervalBucket.java85 Duration elapsedTime = now.subtractTimestamp(start); in getFraction() local
87 elapsedTime.compareTo(ZERO) >= 0 && elapsedTime.compareTo(duration) < 0, in getFraction()
89 return ((double) elapsedTime.toMillis()) / duration.toMillis(); in getFraction()
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperf.cpp68 unsigned long elapsedTime = 0;
90 elapsedTime = timeGetTime()-startTime;
126 elapsedTime = timeGetTime()-startTime;
135 int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount));
142 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize);
Dubrkperfold.cpp291 unsigned long elapsedTime = 0; in doForwardTest() local
315 elapsedTime = timeGetTime()-startTime; in doForwardTest()
351 elapsedTime = timeGetTime()-startTime; in doForwardTest()
360 int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount)); in doForwardTest()
367 printf("time=%d\nevents=%d\nsize=%d\n", elapsedTime, noBreaks, textSize); in doForwardTest()
377 unsigned long elapsedTime = 0; in doIsBoundTest() local
402 elapsedTime = timeGetTime()-startTime; in doIsBoundTest()
403 int32_t loopTime = (int)(float(1000) * ((float)elapsedTime/(float)opt_loopCount)); in doIsBoundTest()
411 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
DUtil.java44 return selectDurationUnitForDisplay(sw.elapsedTime()); in selectDurationUnitForDisplay()
73 return durationInDurationUnitsAsStr(sw.elapsedTime(), du); in durationInDurationUnitsAsStr()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DAbstractNettyHandler.java152 long elapsedTime = (System.nanoTime() - lastPingTime); in updateWindow() local
153 if (elapsedTime == 0) { in updateWindow()
154 elapsedTime = 1; in updateWindow()
156 long bandwidth = (getDataSincePing() * TimeUnit.SECONDS.toNanos(1)) / elapsedTime; in updateWindow()
/external/junit/src/main/java/junit/runner/
DTestRunListener.java16 public void testRunEnded(long elapsedTime); in testRunEnded() argument
18 public void testRunStopped(long elapsedTime); in testRunStopped() argument
/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/MockFtpServer/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.0-rc1/MockFtpServer/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.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/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/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.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/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/1.0/src/test/java/org/mockftpserver/test/
DLoggingUtil.java111 long elapsedTime = System.currentTimeMillis() - startTime; in logEndOfTest() local
114 + " Time=" + elapsedTime in logEndOfTest()
/external/lzma/CPP/7zip/UI/Common/
DBench.h34 UInt64 GetCompressRating(UInt32 dictSize, UInt64 elapsedTime, UInt64 freq, UInt64 size);
35 UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt64 n…
/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()

12