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

/frameworks/base/libs/hwui/utils/
H A DTiming.h30 long long elapsed = (stop.tv_sec * 1000000) - (mStart.tv_sec * 1000000) + local
32 ALOGD("%s took %.2fms", mMethodName, elapsed / 1000.0);
/frameworks/native/cmds/dumpstate/
H A DDumpstateSectionReporter.cpp34 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>( local
36 listener_->onSectionComplete(title_, status_, size_, (int32_t)elapsed.count());
H A DDumpstateInternal.cpp168 uint64_t elapsed = Nanotime() - start_time; local
169 dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC);
H A DDumpstateUtil.cpp329 uint64_t elapsed = Nanotime() - start; local
334 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
336 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
340 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
342 static_cast<float>(elapsed) / NANOS_PER_SEC, pid);
H A Dutils.cpp103 uint64_t elapsed = Nanotime() - started_; local
105 MYLOGD("Duration of '%s': %.3fs\n", title_.c_str(), (float)elapsed / NANOS_PER_SEC);
108 printf("------ %.3fs was the duration of '%s' ------\n", (float)elapsed / NANOS_PER_SEC,
890 // and write a summary of the elapsed time to the file and continue with the
894 dprintf(fd, "[dump %s stack %d: %.3fs elapsed]\n", is_java_process ? "dalvik" : "native",
1004 dprintf(fd, "[dump dalvik stack %d: %.3fs elapsed]\n", pid,
1026 dprintf(fd, "[dump native stack %d: %.3fs elapsed]\n", pid,
/frameworks/rs/tests/cpp_api/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/base/core/tests/coretests/src/android/util/
H A DTokenBucketTest.java164 void assertDuration(long expected, long elapsed) { argument
166 "expected elapsed time at least %d ms, but was %d ms", expected, elapsed);
167 elapsed += 1; // one millisecond extra guard
168 assertTrue(msg, elapsed >= expected);
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp132 long long ThreadCpuUsage::elapsed() const function in class:android::ThreadCpuUsage
134 long long elapsed; local
141 elapsed = 0;
144 elapsed = (ts.tv_sec - mMonotonicTs.tv_sec) * 1000000000LL +
148 ALOGW("Can't compute elapsed time because measurements have never been enabled");
149 elapsed = 0;
151 ALOGV("elapsed %lld", elapsed);
152 return elapsed;
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustArchive.java160 private static String formatElapsed(long elapsed) { argument
161 long delta = elapsed - SystemClock.elapsedRealtime();
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp112 struct timespec *elapsed)
116 struct timespec total; // total elapsed time spent waiting
119 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting
284 // update total elapsed time spent waiting
323 if (elapsed != NULL) {
324 *elapsed = total;
330 ALOGV("requested %ld.%03ld elapsed %ld.%03ld",
452 struct timespec total; // total elapsed time spent waiting
111 obtainBuffer(Buffer* buffer, const struct timespec *requested, struct timespec *elapsed) argument
H A DAudioRecord.cpp876 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
880 struct timespec *elapsed, size_t *nonContig)
931 // FIXME starts the requested timeout and elapsed over from scratch
932 status = proxy->obtainBuffer(&buffer, requested, elapsed);
879 obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed, size_t *nonContig) argument
H A DAudioTrack.cpp1645 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
1649 struct timespec *elapsed, size_t *nonContig)
1710 // FIXME starts the requested timeout and elapsed over from scratch
1711 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1648 obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, struct timespec *elapsed, size_t *nonContig) argument
/frameworks/av/services/audioflinger/
H A DThreads.cpp388 // mCpuUsage.elapsed() is expensive, so don't call it every loop
390 long long elapsed = mCpuUsage.elapsed(); local
391 if (elapsed >= DEBUG_CPU_USAGE * 1000000000LL) {
392 double perLoop = elapsed / (double) n;
412 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 799 milliseconds