Searched defs:elapsed (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DTiming.h33 long long elapsed = (stop.tv_sec * 1000000) - (mStart.tv_sec * 1000000) local
35 ALOGD("%s took %.2fms", mMethodName, elapsed / 1000.0);
/frameworks/rs/tests/latency/
H A Dlatency.cpp87 long long elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec); local
88 printf("elapsed time : %lld microseconds\n", elapsed);
89 printf("time per iter: %f microseconds\n", (double)elapsed / iters);
102 elapsed = (stop.tv_sec * 1000000) - (start.tv_sec * 1000000) + (stop.tv_usec - start.tv_usec);
103 printf("elapsed time with copy : %lld microseconds\n", elapsed);
104 printf("time per iter with copy: %f microseconds\n", (double)elapsed / iters);
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp127 long long ThreadCpuUsage::elapsed() const function in class:android::ThreadCpuUsage
129 long long elapsed; local
136 elapsed = 0;
139 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL +
143 ALOGW("Can't compute elapsed time because measurements have never been enabled");
144 elapsed = 0;
146 ALOGV("elapsed %lld", elapsed);
147 return elapsed;
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustArchive.java152 private static String formatElapsed(long elapsed) { argument
153 long delta = elapsed - SystemClock.elapsedRealtime();
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp112 struct timespec *elapsed)
115 struct timespec total; // total elapsed time spent waiting
118 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting
283 // update total elapsed time spent waiting
322 if (elapsed != NULL) {
323 *elapsed = total;
329 ALOGV("requested %ld.%03ld elapsed %ld.%03ld",
416 struct timespec total; // total elapsed time spent waiting
111 obtainBuffer(Buffer* buffer, const struct timespec *requested, struct timespec *elapsed) argument
H A DAudioRecord.cpp772 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
776 struct timespec *elapsed, size_t *nonContig)
827 // FIXME starts the requested timeout and elapsed over from scratch
828 status = proxy->obtainBuffer(&buffer, requested, elapsed);
775 obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed, size_t *nonContig) argument
H A DAudioTrack.cpp1601 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
1605 struct timespec *elapsed, size_t *nonContig)
1666 // FIXME starts the requested timeout and elapsed over from scratch
1667 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1604 obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed, size_t *nonContig) argument
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp81 uint64_t elapsed = DurationReporter::nanotime() - started_; local
85 (float) elapsed / NANOS_PER_SEC, title_);
87 MYLOGD("Duration of '%s': %.3fs\n", title_, (float) elapsed / NANOS_PER_SEC);
434 uint64_t elapsed = DurationReporter::nanotime(); local
441 elapsed = DurationReporter::nanotime() - elapsed;
443 (float) elapsed / NANOS_PER_SEC);
770 uint64_t elapsed = DurationReporter::nanotime() - start; local
776 cmd.c_str(), (float) elapsed / NANOS_PER_SEC, pid);
778 (float) elapsed / NANOS_PER_SE
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp379 // mCpuUsage.elapsed() is expensive, so don't call it every loop
381 long long elapsed = mCpuUsage.elapsed(); local
382 if (elapsed >= DEBUG_CPU_USAGE * 1000000000LL) {
383 double perLoop = elapsed / (double) n;
403 elapsed * .000000001, n, perLoop * .000001,
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 173 milliseconds