Home
last modified time | relevance | path

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

12

/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java42 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS)); in testInitialState()
91 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS)); in testReset_new()
94 assertEquals(3, stopwatch.elapsedTime(NANOSECONDS)); in testReset_new()
100 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS)); in testReset_whileRunning()
102 assertEquals(2, stopwatch.elapsedTime(NANOSECONDS)); in testReset_whileRunning()
106 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS)); in testReset_whileRunning()
112 assertEquals(0, stopwatch.elapsedTime(NANOSECONDS)); in testElapsedTime_whileRunning()
115 assertEquals(345, stopwatch.elapsedTime(NANOSECONDS)); in testElapsedTime_whileRunning()
124 assertEquals(4, stopwatch.elapsedTime(NANOSECONDS)); in testElapsedTime_notRunning()
135 assertEquals(9, stopwatch.elapsedTime(NANOSECONDS)); in testElapsedTime_multipleSegments()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/events/
DWebKitAnimationEvent.cpp35 , elapsedTime(0.0) in WebKitAnimationEventInit()
48 , m_elapsedTime(initializer.elapsedTime) in WebKitAnimationEvent()
53 …nt::WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime) in WebKitAnimationEvent() argument
56 , m_elapsedTime(elapsedTime) in WebKitAnimationEvent()
70 double WebKitAnimationEvent::elapsedTime() const in elapsedTime() function in WebCore::WebKitAnimationEvent
DTransitionEvent.cpp35 : elapsedTime(0) in TransitionEventInit()
45 …tionEvent(const AtomicString& type, const String& propertyName, double elapsedTime, const String& … in TransitionEvent() argument
48 , m_elapsedTime(elapsedTime) in TransitionEvent()
57 , m_elapsedTime(initializer.elapsedTime) in TransitionEvent()
72 double TransitionEvent::elapsedTime() const in elapsedTime() function in WebCore::TransitionEvent
DWebKitAnimationEvent.h40 double elapsedTime; member
49 …itAnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime) in create() argument
51 return adoptRef(new WebKitAnimationEvent(type, animationName, elapsedTime)); in create()
61 double elapsedTime() const;
67 WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime);
DTransitionEvent.h38 double elapsedTime; member
48 …t> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& … in create() argument
50 return adoptRef(new TransitionEvent(type, propertyName, elapsedTime, pseudoElement)); in create()
60 double elapsedTime() const;
67 …TransitionEvent(const AtomicString& type, const String& propertyName, double elapsedTime, const St…
/external/chromium_org/third_party/WebKit/Source/modules/speech/
DSpeechSynthesisEvent.cpp36 …Event::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& … in create() argument
38 return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name)); in create()
46 …ynthesisEvent(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& … in SpeechSynthesisEvent() argument
49 , m_elapsedTime(elapsedTime) in SpeechSynthesisEvent()
DSpeechSynthesisEvent.h37 …Event> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& …
40 float elapsedTime() const { return m_elapsedTime; } in elapsedTime() function
47 …SpeechSynthesisEvent(const AtomicString& type, unsigned long charIndex, float elapsedTime, const S…
/external/chromium_org/third_party/WebKit/Source/core/frame/animation/
DKeyframeAnimation.cpp76 double elapsedTime = getElapsedTime(); in fetchIntervalEndpointsForProperty() local
78 elapsedTime = min(elapsedTime, m_animation->duration() * m_animation->iterationCount()); in fetchIntervalEndpointsForProperty()
80 const double fractionalTime = this->fractionalTime(1, elapsedTime, 0); in fetchIntervalEndpointsForProperty()
276 void KeyframeAnimation::onAnimationStart(double elapsedTime) in onAnimationStart() argument
278 sendAnimationEvent(EventTypeNames::animationstart, elapsedTime); in onAnimationStart()
281 void KeyframeAnimation::onAnimationIteration(double elapsedTime) in onAnimationIteration() argument
283 sendAnimationEvent(EventTypeNames::animationiteration, elapsedTime); in onAnimationIteration()
286 void KeyframeAnimation::onAnimationEnd(double elapsedTime) in onAnimationEnd() argument
288 sendAnimationEvent(EventTypeNames::animationend, elapsedTime); in onAnimationEnd()
295 bool KeyframeAnimation::sendAnimationEvent(const AtomicString& eventType, double elapsedTime) in sendAnimationEvent() argument
[all …]
DKeyframeAnimation.h64 virtual void onAnimationStart(double elapsedTime);
65 virtual void onAnimationIteration(double elapsedTime);
66 virtual void onAnimationEnd(double elapsedTime);
75 bool sendAnimationEvent(const AtomicString&, double elapsedTime);
DAnimationBase.cpp431 double AnimationBase::fractionalTime(double scale, double elapsedTime, double offset) const in fractionalTime() argument
433 double fractionalTime = m_animation->duration() ? (elapsedTime / m_animation->duration()) : 1; in fractionalTime()
486 double elapsedTime = getElapsedTime(); in progress() local
487 if (m_animation->iterationCount() > 0 && elapsedTime >= dur) { in progress()
493 const double fractionalTime = this->fractionalTime(scale, elapsedTime, offset); in progress()
578 double elapsedTime = beginAnimationUpdateTime() - m_startTime; in getElapsedTime() local
582 return max(elapsedTime, 0.0); in getElapsedTime()
DImplicitAnimation.cpp131 void ImplicitAnimation::onAnimationEnd(double elapsedTime) in onAnimationEnd() argument
142 sendTransitionEvent(EventTypeNames::transitionend, elapsedTime); in onAnimationEnd()
146 bool ImplicitAnimation::sendTransitionEvent(const AtomicString& eventType, double elapsedTime) in sendTransitionEvent() argument
163 …compAnim->animationController()->addEventToDispatch(element, eventType, propertyName, elapsedTime); in sendTransitionEvent()
DImplicitAnimation.h50 virtual void onAnimationEnd(double elapsedTime);
77 bool sendTransitionEvent(const AtomicString&, double elapsedTime);
/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/chromium_org/tools/page_cycler/indexed_db/
Dhead.js7 var elapsedTime; variable
57 var timings = elapsedTime;
119 elapsedTime = cycleTime;
120 totalTime = oldTotalTime + elapsedTime;
/external/chromium_org/tools/page_cycler/database/
Dhead.js7 var elapsedTime; variable
57 var timings = elapsedTime;
119 elapsedTime = cycleTime;
120 totalTime = oldTotalTime + elapsedTime;
/external/chromium_org/third_party/icu/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/icu4c/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/chromium_org/third_party/icu/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/icu4c/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/junit/src/junit/runner/
DTestRunListener.java15 public void testRunEnded(long elapsedTime); in testRunEnded() argument
16 public void testRunStopped(long elapsedTime); in testRunStopped() argument
/external/lzma/CPP/7zip/UI/Common/
DBench.h28 UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 freq, UInt64 size);
29 UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 freq, UInt64 outSize, UInt64 inSize, UInt32 n…
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLParserScheduler.h81 double elapsedTime = currentTime() - session.startTime; in checkForYieldBeforeToken() local
82 if (elapsedTime > parserTimeLimit) in checkForYieldBeforeToken()

12