Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 25 of 48) 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()
78 long elapsed = end - start; in testMethodTracing() local
79 Log.i(TAG, "elapsed millis: " + elapsed); in testMethodTracing()
/frameworks/base/services/core/java/com/android/server/policy/
DSystemGesturesPointerEventListener.java172 final long elapsed = time - mDownTime[i];
174 + " moved (" + fromX + "->" + x + "," + fromY + "->" + y + ") in " + elapsed);
177 && elapsed < SWIPE_TIMEOUT_MS) {
182 && elapsed < SWIPE_TIMEOUT_MS) {
187 && elapsed < SWIPE_TIMEOUT_MS) {
/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/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/native/cmds/dumpstate/
Dutils.c266 uint64_t elapsed = nanotime(); in _dump_file_from_fd() local
273 elapsed = nanotime() - elapsed; in _dump_file_from_fd()
275 (float) elapsed / NANOS_PER_SEC); in _dump_file_from_fd()
488 uint64_t elapsed = nanotime() - start; in run_command() local
492 (float) elapsed / NANOS_PER_SEC, pid); in run_command()
495 (float) elapsed / NANOS_PER_SEC, pid); in run_command()
512 if (title) printf("[%s: %.3fs elapsed]\n\n", command, (float)elapsed / NANOS_PER_SEC); in run_command()
/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/support/design/eclair-mr1/android/support/design/widget/
DValueAnimatorCompatImplEclairMr1.java153 final long elapsed = SystemClock.uptimeMillis() - mStartTime; in update() local
154 final float linearFraction = elapsed / (float) mDuration; 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/packages/Keyguard/src/com/android/keyguard/
DKeyguardPatternView.java169 final long elapsed = SystemClock.elapsedRealtime() - mLastPokeTime; in onTouchEvent() local
170 if (result && (elapsed > (UNLOCK_PATTERN_WAKE_INTERVAL_MS - 100))) { in onTouchEvent()
/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/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.cpp85 struct timespec *elapsed) in obtainBuffer() argument
91 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting in obtainBuffer()
282 if (elapsed != NULL) { in obtainBuffer()
283 *elapsed = total; in obtainBuffer()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiWatcher.jd67 …tor</a></code>. When a match is not found after a predetermined time has elapsed, the framework ca…
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java711 final int elapsed = (int) (input * mTotalDuration + 0.5f); in getInterpolation() local
716 int remaining = elapsed; in getInterpolation()
/frameworks/av/include/media/
DAudioRecord.h441 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

12