Home
last modified time | relevance | path

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

12

/frameworks/rs/tests/latency/
Dlatency.cpp87 …long long elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_… in main() local
88 printf("elapsed time : %lld microseconds\n", elapsed); in main()
89 printf("time per iter: %f microseconds\n", (double)elapsed / iters); in main()
102 elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec); in main()
103 printf("elapsed time with copy : %lld microseconds\n", elapsed); in main()
104 printf("time per iter with copy: %f microseconds\n", (double)elapsed / iters); in main()
/frameworks/base/sax/tests/saxtests/src/android/sax/
DExpatPerformanceTest.java78 long elapsed = System.currentTimeMillis() - start; in runSax() local
79 Log.i(TAG, "expat SAX: " + elapsed + "ms"); in runSax()
87 long elapsed = System.currentTimeMillis() - start; in runExpatPullParser() local
88 Log.i(TAG, "expat pull: " + elapsed + "ms"); in runExpatPullParser()
98 long elapsed = System.currentTimeMillis() - start; in runJavaPullParser() local
99 Log.i(TAG, "java pull parser: " + elapsed + "ms"); in runJavaPullParser()
DSafeSaxTest.java176 long elapsed = System.currentTimeMillis() - start; in pureSaxTest() local
177 Log.i(TAG, "pure SAX: " + elapsed + "ms"); in pureSaxTest()
184 long elapsed = System.currentTimeMillis() - start; in saxyModelTest() local
185 Log.i(TAG, "Saxy Model: " + elapsed + "ms"); in saxyModelTest()
192 long elapsed = System.currentTimeMillis() - start; in saxyModelTest() local
193 Log.i(TAG, "Saxy Model (preloaded): " + elapsed + "ms"); in saxyModelTest()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp127 long long ThreadCpuUsage::elapsed() const in elapsed() function in android::ThreadCpuUsage
129 long long elapsed; in elapsed() local
136 elapsed = 0; in elapsed()
139 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL + in elapsed()
144 elapsed = 0; in elapsed()
146 ALOGV("elapsed %lld", elapsed); in elapsed()
147 return elapsed; in elapsed()
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java49 long elapsed = end - start; in testNativeTracingFromJava() local
50 Log.i(TAG, "elapsed millis: " + elapsed); in testNativeTracingFromJava()
63 long elapsed = end - start; in disableTestNativeTracingFromC() local
64 Log.i(TAG, "elapsed millis: " + elapsed); in disableTestNativeTracingFromC()
79 long elapsed = end - start; in testMethodTracing() local
80 Log.i(TAG, "elapsed millis: " + elapsed); in testMethodTracing()
/frameworks/base/libs/hwui/utils/
DTiming.h33 long long elapsed = (stop.tv_sec * 1000000) - (mStart.tv_sec * 1000000) in ~MethodTimer() local
35 ALOGD("%s took %.2fms", mMethodName, elapsed / 1000.0); in ~MethodTimer()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java214 final long elapsed = time - mDownTime[i]; in detectSwipe() local
216 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed); in detectSwipe()
219 && elapsed < SWIPE_TIMEOUT_MS) { in detectSwipe()
224 && elapsed < SWIPE_TIMEOUT_MS) { in detectSwipe()
229 && elapsed < SWIPE_TIMEOUT_MS) { in detectSwipe()
/frameworks/base/tools/preload/loadclass/
DLoadClass.java40 long elapsed = System.currentTimeMillis() - start; in main() local
41 Log.i("LoadClass", "Loaded " + args[0] + " in " + elapsed in main()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java2492 long elapsed = endTime - startTime; in performanceTextExpand() local
2493 Log.i(TAG, "testPerformanceExpand() expand() elapsed millis: " + elapsed); in performanceTextExpand()
2516 long elapsed = endTime - startTime; in performanceTestNormalize() local
2518 Log.i(TAG, "testPerformanceNormalize() normalize() elapsed millis: " + elapsed); in performanceTestNormalize()
2533 elapsed = endTime - startTime; in performanceTestNormalize()
2535 Log.i(TAG, "testPerformanceNormalize() unsafeNormalize() elapsed millis: " + elapsed); in performanceTestNormalize()
/frameworks/native/cmds/dumpstate/
Dutils.cpp81 uint64_t elapsed = DurationReporter::nanotime() - started_; in ~DurationReporter() local
85 (float) elapsed / NANOS_PER_SEC, title_); in ~DurationReporter()
87 MYLOGD("Duration of '%s': %.3fs\n", title_, (float) elapsed / NANOS_PER_SEC); in ~DurationReporter()
434 uint64_t elapsed = DurationReporter::nanotime(); in _dump_file_from_fd() local
441 elapsed = DurationReporter::nanotime() - elapsed; in _dump_file_from_fd()
443 (float) elapsed / NANOS_PER_SEC); in _dump_file_from_fd()
770 uint64_t elapsed = DurationReporter::nanotime() - start; in run_command_always() local
776 cmd.c_str(), (float) elapsed / NANOS_PER_SEC, pid); in run_command_always()
778 (float) elapsed / NANOS_PER_SEC, pid); in run_command_always()
782 cmd.c_str(), (float) elapsed / NANOS_PER_SEC, pid); in run_command_always()
[all …]
/frameworks/support/design/eclair-mr1/android/support/design/widget/
DValueAnimatorCompatImplEclairMr1.java162 final long elapsed = SystemClock.uptimeMillis() - mStartTime; in update() local
163 final float linearFraction = MathUtils.constrain(elapsed / (float) mDuration, 0f, 1f); in update()
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java196 long elapsed = System.currentTimeMillis() - start; in writeSnapshotFile() local
197 Log.i(TAG, "Wrote snapshot " + path + " in " + elapsed + "ms."); in writeSnapshotFile()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustArchive.java152 private static String formatElapsed(long elapsed) { in formatElapsed() argument
153 long delta = elapsed - SystemClock.elapsedRealtime(); in formatElapsed()
/frameworks/av/include/cpustats/
DThreadCpuUsage.h106 long long elapsed() const;
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeProgressBar.java149 long elapsed = (now - mStartTime) % ANIMATION_DURATION_MS; in draw() local
151 float rawProgress = (elapsed / (ANIMATION_DURATION_MS / 100f)); in draw()
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd164 <p>There are two general clock types for alarms: "elapsed real time" and "real time clock"
168 elapsed real time is suited to setting an alarm based on the passage of time (for
180 hour), use one of the elapsed real time types. In general, this is the better choice.</p>
187 that you use a "elapsed real time" alarm if you can.</p>
195 elapsed time includes any time during which the device was asleep.</li>
198 fires the pending intent after the specified length of time has elapsed since device
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPatternView.java160 final long elapsed = SystemClock.elapsedRealtime() - mLastPokeTime; in onTouchEvent() local
161 if (result && (elapsed > (UNLOCK_PATTERN_WAKE_INTERVAL_MS - 100))) { in onTouchEvent()
/frameworks/rs/api/
Drs_time.spec29 Calendar time interpreted as seconds elapsed since the Epoch (00:00:00 on
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd74 function of the animation's current elapsed time.</li>
132 …hole animation, the {@link android.animation.ValueAnimator} calculates an <em>elapsed fraction</em>
133 between 0 and 1, based on the duration of the animation and how much time has elapsed. The
134 elapsed fraction represents the percentage of time that the animation has completed, 0 meaning 0%
135 and 1 meaning 100%. For example, in Figure 1, the elapsed fraction at t = 10 ms would be .25
138 <p>When the {@link android.animation.ValueAnimator} is done calculating an elapsed fraction, it
140 <em>interpolated fraction</em>. An interpolated fraction maps the elapsed fraction to a new
143 elapsed fraction, .25, at t = 10 ms. In Figure 1, the interpolated fraction is always the same as
144 the elapsed fraction.</p>
688 android.animation.ObjectAnimator}) runs, it calculates a current elapsed fraction of the
[all …]
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp112 struct timespec *elapsed) in obtainBuffer() argument
118 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting in obtainBuffer()
322 if (elapsed != NULL) { in obtainBuffer()
323 *elapsed = total; in obtainBuffer()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java712 final int elapsed = (int) (input * mTotalDuration + 0.5f); in getInterpolation() local
717 int remaining = elapsed; in getInterpolation()
/frameworks/av/include/media/
DAudioRecord.h455 struct timespec *elapsed = NULL, size_t *nonContig = NULL);
/frameworks/ex/common/java/com/android/common/
DGoogleLogTags.logtags52 203002 google_http_request (elapsed|2|3),(status|1),(appname|3),(reused|1)
/frameworks/rs/scriptc/
Drs_time.rsh32 * Calendar time interpreted as seconds elapsed since the Epoch (00:00:00 on
/frameworks/av/include/private/media/
DAudioTrackShared.h279 struct timespec *elapsed = NULL);

12