Home
last modified time | relevance | path

Searched refs:elapsedMs (Results 1 – 16 of 16) sorted by relevance

/external/skqp/tests/
DTest.cpp63 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; } in elapsedMs() function in skiatest::Timer
66 const double elapsedMs = this->elapsedMs(); in elapsedMsInt() local
67 SkASSERT(SK_MSecMax >= elapsedMs); in elapsedMsInt()
68 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
DStrokerTest.cpp63 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in cubicSetTest()
79 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in cubicPairSetTest()
95 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in quadSetTest()
111 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in quadPairSetTest()
173 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
214 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
265 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
324 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
369 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
409 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
DTest.h148 double elapsedMs() const;
/external/skia/tests/
DTest.cpp79 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; } in elapsedMs() function in skiatest::Timer
82 const double elapsedMs = this->elapsedMs(); in elapsedMsInt() local
83 SkASSERT(SK_MSecMax >= elapsedMs); in elapsedMsInt()
84 return static_cast<SkMSec>(elapsedMs); in elapsedMsInt()
DStrokerTest.cpp63 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in cubicSetTest()
79 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in cubicPairSetTest()
95 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in quadSetTest()
111 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in quadPairSetTest()
173 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
214 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
265 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
324 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
369 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
409 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { in DEF_TEST()
DTest.h138 double elapsedMs() const;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoRendererEventListener.java72 default void onDroppedFrames(int count, long elapsedMs) {} in onDroppedFrames() argument
178 public void droppedFrames(int droppedFrameCount, long elapsedMs) { in droppedFrames() argument
180 handler.post(() -> castNonNull(listener).onDroppedFrames(droppedFrameCount, elapsedMs)); in droppedFrames()
DDecoderVideoRenderer.java957 long elapsedMs = now - droppedFrameAccumulationStartTimeMs; in maybeNotifyDroppedFrames() local
958 eventDispatcher.droppedFrames(droppedFrames, elapsedMs); in maybeNotifyDroppedFrames()
DMediaCodecVideoRenderer.java1124 long elapsedMs = now - droppedFrameAccumulationStartTimeMs; in maybeNotifyDroppedFrames() local
1125 eventDispatcher.droppedFrames(droppedFrames, elapsedMs); in maybeNotifyDroppedFrames()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DBandwidthMeter.java44 void onBandwidthSample(int elapsedMs, long bytesTransferred, long bitrateEstimate); in onBandwidthSample() argument
DDefaultBandwidthMeter.java404 int elapsedMs, long bytesTransferred, long bitrateEstimate) { in maybeNotifyBandwidthSample() argument
405 if (elapsedMs == 0 && bytesTransferred == 0 && bitrateEstimate == lastReportedBitrateEstimate) { in maybeNotifyBandwidthSample()
410 listener -> listener.onBandwidthSample(elapsedMs, bytesTransferred, bitrateEstimate)); in maybeNotifyBandwidthSample()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollector.java267 public final void onDroppedFrames(int count, long elapsedMs) { in onDroppedFrames() argument
270 listener.onDroppedVideoFrames(eventTime, count, elapsedMs); in onDroppedFrames()
569 public final void onBandwidthSample(int elapsedMs, long bytes, long bitrate) { in onBandwidthSample() argument
572 listener.onBandwidthEstimate(eventTime, elapsedMs, bytes, bitrate); in onBandwidthSample()
DAnalyticsListener.java479 default void onDroppedVideoFrames(EventTime eventTime, int droppedFrames, long elapsedMs) {} in onDroppedVideoFrames() argument
DPlaybackStatsListener.java407 public void onDroppedVideoFrames(EventTime eventTime, int droppedFrames, long elapsedMs) { in onDroppedVideoFrames() argument
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java363 public void onDroppedVideoFrames(EventTime eventTime, int count, long elapsedMs) { in onDroppedVideoFrames() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java1469 public void onDroppedVideoFrames(EventTime eventTime, int droppedFrames, long elapsedMs) { in onDroppedVideoFrames() argument