/frameworks/native/opengl/tests/finish/ |
D | finish.cpp | 90 now = systemTime(); in main() 92 t = systemTime(); in main() 107 now = systemTime(); in main() 110 t = systemTime(); in main() 121 now = systemTime(); in main() 124 t = systemTime(); in main() 135 now = systemTime(); in main() 139 t = systemTime(); in main() 150 now = systemTime(); in main() 154 t = systemTime(); in main() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | Stats.h | 72 nsecs_t getCurTime() { return systemTime(CLOCK_MONOTONIC); } in getCurTime() 78 void setStartTime() { mStartTimeNs = systemTime(CLOCK_MONOTONIC); } in setStartTime() 82 void addInputTime() { mInputTimer.push_back(systemTime(CLOCK_MONOTONIC)); } in addInputTime() 84 void addOutputTime() { mOutputTimer.push_back(systemTime(CLOCK_MONOTONIC)); } in addOutputTime()
|
/frameworks/av/cmds/screenrecord/ |
D | FrameOutput.cpp | 136 startWhenNsec = systemTime(CLOCK_MONOTONIC); in copyFrame() 145 pixWhenNsec = systemTime(CLOCK_MONOTONIC); in copyFrame() 149 endWhenNsec = systemTime(CLOCK_MONOTONIC); in copyFrame() 174 startWhenNsec = systemTime(CLOCK_MONOTONIC); in copyFrame() 179 endWhenNsec = systemTime(CLOCK_MONOTONIC); in copyFrame()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryIntegrationTest.cpp | 176 nsecs_t time = systemTime(); in TEST_F() 197 nsecs_t time = systemTime(); in TEST_F() 219 nsecs_t time = systemTime(); in TEST_F() 249 nsecs_t time = systemTime(); in TEST_F() 266 nsecs_t time = systemTime(); in TEST_F() 285 nsecs_t time = systemTime(); in TEST_F() 301 nsecs_t time = systemTime(); in TEST_F() 448 nsecs_t time = systemTime(); in TEST_F() 508 nsecs_t time = systemTime(); in TEST_F() 533 nsecs_t time = systemTime(); in TEST_F() [all …]
|
D | LayerHistoryTest.cpp | 170 nsecs_t time = systemTime(); in TEST_F() 197 nsecs_t time = systemTime(); in TEST_F() 225 nsecs_t time = systemTime(); in TEST_F() 302 nsecs_t time = systemTime(); in TEST_F() 359 nsecs_t time = systemTime(); in TEST_F() 386 nsecs_t time = systemTime(); in TEST_F() 410 nsecs_t time = systemTime(); in TEST_F() 438 nsecs_t time = systemTime(); in TEST_F() 467 nsecs_t time = systemTime(); in TEST_F() 496 nsecs_t time = systemTime(); in TEST_F() [all …]
|
D | LayerInfoTest.cpp | 205 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F() 221 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F() 239 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F() 252 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F() 266 layerInfo.getRefreshRateVote(*mScheduler->refreshRateSelector(), systemTime()); in TEST_F()
|
D | TransactionApplicationTest.cpp | 108 /*desiredPresentTime*/ systemTime(), /*isAutoTimestamp*/ true, in NotPlacedOnTransactionQueue() 110 nsecs_t applicationTime = systemTime(); in NotPlacedOnTransactionQueue() 120 nsecs_t returnedTime = systemTime(); in NotPlacedOnTransactionQueue() 133 nsecs_t time = systemTime(); in PlaceOnTransactionQueue() 137 nsecs_t applicationSentTime = systemTime(); in PlaceOnTransactionQueue() 145 nsecs_t returnedTime = systemTime(); in PlaceOnTransactionQueue() 154 nsecs_t time = systemTime(); in BlockedByPriorTransaction() 165 setupSingle(transactionB, flags, /*desiredPresentTime*/ systemTime(), in BlockedByPriorTransaction() 168 nsecs_t applicationSentTime = systemTime(); in BlockedByPriorTransaction() 179 EXPECT_LE(systemTime(), applicationSentTime + TRANSACTION_TIMEOUT); in BlockedByPriorTransaction() [all …]
|
/frameworks/base/media/jni/soundpool/tests/ |
D | soundpool_stress.cpp | 118 const int64_t startTimeNs = systemTime(); in testStreams() 143 const int64_t requestLoadTimeNs = systemTime(); in testStreams() 178 const int64_t loadTimeNs = systemTime(); in testStreams() 197 const int64_t playTimeNs = systemTime(); in testStreams() 282 const int64_t startTimeNs = systemTime(); in main() 298 const int64_t endTimeNs = systemTime(); in main()
|
/frameworks/base/libs/hwui/ |
D | FrameInfo.h | 130 void markSyncStart() { set(FrameInfoIndex::SyncStart) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSyncStart() 133 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(SYSTEM_TIME_MONOTONIC); in markIssueDrawCommandsStart() 136 void markSwapBuffers() { set(FrameInfoIndex::SwapBuffers) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSwapBuffers() 139 set(FrameInfoIndex::SwapBuffersCompleted) = systemTime(SYSTEM_TIME_MONOTONIC); in markSwapBuffersCompleted() 142 …void markFrameCompleted() { set(FrameInfoIndex::FrameCompleted) = systemTime(SYSTEM_TIME_MONOTONIC… in markFrameCompleted()
|
/frameworks/native/libs/gui/tests/ |
D | Choreographer_test.cpp | 39 receivedCallbackTime = std::chrono::nanoseconds{systemTime(SYSTEM_TIME_MONOTONIC)}; in onVsyncCallback() 62 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() 67 currTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
|
D | CompositorTiming_test.cpp | 31 const nsecs_t vsyncDeadline = systemTime(); in TEST() 43 for (nsecs_t presentDelay = 0, compositeTime = systemTime(); presentDelay < 10 * kVsyncPeriod; in TEST()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 141 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 155 nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 158 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 171 nsecs_t done = systemTime(SYSTEM_TIME_MONOTONIC); in doRun() 179 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
|
/frameworks/av/media/utils/ |
D | ThreadSnapshot.cpp | 74 mBeginTimeNs = systemTime(); in onBegin() 81 mEndTimeNs = systemTime(); in onEnd() 90 const int64_t nowNs = systemTime(); in toString()
|
/frameworks/native/services/surfaceflinger/Scheduler/tests/ |
D | TimerTest.cpp | 46 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F() 55 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F()
|
/frameworks/av/media/tests/benchmark/src/native/common/utils/ |
D | Timers.cpp | 29 nsecs_t systemTime(int clock) { in systemTime() function 38 nsecs_t systemTime(int /*clock*/) { in systemTime() function
|
D | Timers.h | 100 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC); 102 nsecs_t systemTime(int clock);
|
/frameworks/base/core/jni/ |
D | android_os_SystemClock.cpp | 52 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_THREAD)); in android_os_SystemClock_currentThreadTimeMillis() 60 return nanoseconds_to_microseconds(systemTime(SYSTEM_TIME_THREAD)); in android_os_SystemClock_currentThreadTimeMicro()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | VibratorInputMapper.cpp | 60 NotifyVibratorStateArgs(getContext()->getNextId(), systemTime(), getDeviceId(), true)); in vibrate() 126 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in nextStep() 145 return NotifyVibratorStateArgs(getContext()->getNextId(), systemTime(), getDeviceId(), false); in stopVibrating()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SetFrameRate_test.cpp | 41 auto startTime = systemTime(); in PostBuffers() 42 while (systemTime() - startTime < s2ns(1)) { in PostBuffers()
|
/frameworks/base/libs/hwui/renderthread/ |
D | HintSessionWrapper.cpp | 140 mLastFrameNotification = systemTime(); in updateTargetWorkDuration() 150 mLastFrameNotification = systemTime(); in reportActualWorkDuration() 173 nsecs_t now = systemTime(); in sendLoadResetHint()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | AutoConditionLock.cpp | 50 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + waitTime; in waitAndAcquire() 59 waitTime = failTime - systemTime(SYSTEM_TIME_MONOTONIC); in waitAndAcquire()
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ALooper.cpp | 53 waitUntilNs = systemTime(SYSTEM_TIME_MONOTONIC) + timeoutMillis * 1000000LL; in pollOnce() 59 || (nowNs = systemTime(SYSTEM_TIME_MONOTONIC)) < waitUntilNs) in pollOnce()
|
/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 150 :start_time_(systemTime()), metric_(metric) { in EventTimer() 155 metric_->Record(ns2us(systemTime() - start_time_), attribute_); in ~EventTimer()
|
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 101 nsecs_t t = -systemTime(); in checkPermission() 103 t += systemTime(); in checkPermission()
|
/frameworks/native/opengl/tests/swapinterval/ |
D | swapinterval.cpp | 107 nsecs_t start = systemTime(); in main() 116 t = systemTime() - start; in main()
|