Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-base.cpp71 unsigned long elapsed = (tp.tv_sec - m_tBegin.tv_sec) * 1000000; in GetElapsed() local
72 return (m_tBegin.tv_nsec > tp.tv_nsec) ? elapsed - (m_tBegin.tv_nsec - tp.tv_nsec) / 1000 in GetElapsed()
73 : elapsed + (tp.tv_nsec - m_tBegin.tv_nsec) / 1000; in GetElapsed()
84 unsigned long elapsed = (tp.tv_sec - m_tBegin.tv_sec) * 1000000; in GetElapsedUpdate() local
85 elapsed = (m_tBegin.tv_nsec > tp.tv_nsec) ? elapsed - (m_tBegin.tv_nsec - tp.tv_nsec) / 1000 in GetElapsedUpdate()
86 : elapsed + (tp.tv_nsec - m_tBegin.tv_nsec) / 1000; in GetElapsedUpdate()
89 return elapsed; in GetElapsedUpdate()
/hardware/interfaces/automotive/occupant_awareness/aidl/vts/functional/
DVtsHalOccupantAwarenessV1_0TargetTest.cpp78 auto elapsed = std::chrono::system_clock::now() - start; in TEST_P() local
80 ASSERT_LE(elapsed, kTimeout); in TEST_P()
171 auto elapsed = std::chrono::system_clock::now() - start; in TEST_P() local
173 ASSERT_LE(elapsed, kTimeout); in TEST_P()
189 auto elapsed = std::chrono::system_clock::now() - start; in TEST_P() local
190 ASSERT_LE(elapsed, kTimeout); in TEST_P()
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DFakeLockoutTracker.cpp74 auto elapsed = (now - mLockoutTimedStart) / 1000000LL; in getLockoutTimeLeft() local
75 res = lockoutTimedDuration - elapsed; in getLockoutTimeLeft()
76 LOG(INFO) << "elapsed=" << elapsed << " now = " << now in getLockoutTimeLeft()
/hardware/google/camera/common/profiler/
Dprofiler.cc288 int64_t elapsed = current - realtime_frame_rate.start; in ProfileFrameRate() local
289 if (elapsed > kNsPerSec * fps_print_interval_seconds_) { in ProfileFrameRate()
291 realtime_frame_rate.count * kNsPerSec / static_cast<float>(elapsed); in ProfileFrameRate()
371 float elapsed = slot.duration() * kNanoToMilli; in PrintResult() local
372 sum_dt += elapsed; in PrintResult()
374 min_dt = std::min(min_dt, elapsed); in PrintResult()
375 max_dt = std::max(max_dt, elapsed); in PrintResult()
377 elapses.push_back(elapsed); in PrintResult()
445 float elapsed = in DumpTxt() local
447 fout << elapsed * kNanoToMilli << " "; in DumpTxt()
[all …]
/hardware/interfaces/biometrics/face/aidl/default/
DFakeLockoutTracker.cpp79 auto elapsed = (now - mLastFailedTime) / 1000000LL; in getLockoutTimeLeft() local
80 res = getTimedLockoutDuration() - elapsed; in getLockoutTimeLeft()
81 LOG(INFO) << "elapsed=" << elapsed << " now = " << now in getLockoutTimeLeft()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Dmesa-overlay-control.py146 elapsed = time.monotonic() - now
147 remaining = max(0, remaining - elapsed)
Doverlay.cpp817 double elapsed = (double)(now - data->last_fps_update); /* us */ in snapshot_swapchain_frame() local
819 elapsed >= instance_data->params.fps_sampling_period) { in snapshot_swapchain_frame()
820 data->fps = 1000000.0f * data->n_frames_since_update / elapsed; in snapshot_swapchain_frame()
/hardware/interfaces/gnss/2.0/
Dtypes.hal36 * Represents an estimate of elapsed time since boot of Android for a given event.
51 * Estimate of the elapsed time since boot value for the corresponding event in nanoseconds.
DIGnssBatchingCallback.hal30 * The GnssLocation struct in gnss@2.0 is extended to include elapsed realtime
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp570 for (android::base::Timer elapsed; in waitForPresentationPositionAdvance() local
572 !(timedOut = (elapsed.duration() >= kPositionChangeTimeout));) { in waitForPresentationPositionAdvance()
586 for (android::base::Timer elapsed; in waitForPresentationPositionAdvance() local
588 !(timedOut = (elapsed.duration() >= kPositionChangeTimeout));) { in waitForPresentationPositionAdvance()
735 for (android::base::Timer elapsed; in waitForCapturePositionAdvance() local
737 !(timedOut = (elapsed.duration() >= kPositionChangeTimeout));) { in waitForCapturePositionAdvance()
746 for (android::base::Timer elapsed; in waitForCapturePositionAdvance() local
748 !(timedOut = (elapsed.duration() >= kPositionChangeTimeout));) { in waitForCapturePositionAdvance()
/hardware/google/gfxstream/guest/mesa/src/util/perf/
Du_trace.c149 uint64_t elapsed = utctx->last_time_ns - utctx->first_time_ns; in print_txt_end_of_batch() local
150 fprintf(utctx->out, "ELAPSED: %" PRIu64 " ns\n", elapsed); in print_txt_end_of_batch()
219 uint64_t elapsed = utctx->last_time_ns - utctx->first_time_ns; in print_json_end_of_batch() local
221 fprintf(utctx->out, "\"duration_ns\": %" PRIu64 "\n", elapsed); in print_json_end_of_batch()
/hardware/interfaces/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/
DVehiclePropValue.proto25 /* Time is elapsed nanoseconds since boot */
/hardware/interfaces/biometrics/face/1.0/vts/functional/
DVtsHalBiometricsFaceV1_0TargetTest.cpp258 auto elapsed = std::chrono::system_clock::now() - start; in TEST_P() local
260 ASSERT_GE(kTimeout, elapsed); in TEST_P()
/hardware/interfaces/biometrics/fingerprint/2.1/vts/functional/
DVtsHalBiometricsFingerprintV2_1TargetTest.cpp287 auto elapsed = std::chrono::system_clock::now() - start; in TEST_P() local
288 ASSERT_GE(kTimeoutInSeconds, elapsed); in TEST_P()
/hardware/google/aemu/host-common/
DMediaVideoToolBoxVideoHelper.cpp601 auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>( in copyFrameToTextures() local
603 VTB_DPRINT("used %d ms", (int)elapsed.count()); in copyFrameToTextures()
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp611 std::chrono::milliseconds elapsed; in TEST_P() local
632 elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - start); in TEST_P()
633 EXPECT_GE(elapsed.count(), duration.count()) << toString(primitive); in TEST_P()
/hardware/interfaces/sensors/2.1/
DISensors.hal85 * If WAKE_LOCK_TIMEOUT_SECONDS has elapsed since the most recent WAKE_UP
/hardware/interfaces/automotive/evs/1.1/
Dtypes.hal322 * Timestamp unit is nanoseconds and is obtained from android elapsed realtime clock which is
/hardware/interfaces/keymaster/3.0/
Dtypes.hal76 MIN_SECONDS_BETWEEN_OPS = TagType:UINT | 403, /* Minimum elapsed time between
/hardware/interfaces/sensors/2.0/
DISensors.hal118 * If WAKE_LOCK_TIMEOUT_SECONDS has elapsed since the most recent WAKE_UP
/hardware/interfaces/neuralnetworks/1.3/
DIPreparedModel.hal261 * has been reached or the duration has elapsed, the driver must immediately set the returned
/hardware/interfaces/graphics/bufferqueue/2.0/
DIGraphicBufferProducer.hal153 * The number of frames that have elapsed since the buffer was last
/hardware/interfaces/keymaster/4.0/
Dtypes.hal22 * reboots, or until at least 50 million years have elapsed (note that this requirement is satisfied
299 * indicates that the interval specified by Tag::MIN_SECONDS_BETWEEN_OPS has elapsed must fail
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal1426 * elapsed since 1/1/1970 UTC.
3722 * AP after the specified time has elapsed, so AP can run tasks like
3755 * AP after the specified time has elapsed so AP can run tasks like
4060 * Time is elapsed nanoseconds since boot. It's equivalent to