Home
last modified time | relevance | path

Searched refs:systemTime (Results 1 – 25 of 237) sorted by relevance

12345678910

/frameworks/native/opengl/tests/finish/
Dfinish.cpp90 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/
DStats.h72 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/
DFrameOutput.cpp136 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/
DLayerHistoryIntegrationTest.cpp176 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 …]
DLayerHistoryTest.cpp170 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 …]
DLayerInfoTest.cpp205 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()
DTransactionApplicationTest.cpp108 /*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/
Dsoundpool_stress.cpp118 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/
DFrameInfo.h130 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/
DChoreographer_test.cpp39 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()
DCompositorTiming_test.cpp31 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/
DTestSceneRunner.cpp141 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/
DThreadSnapshot.cpp74 mBeginTimeNs = systemTime(); in onBegin()
81 mEndTimeNs = systemTime(); in onEnd()
90 const int64_t nowNs = systemTime(); in toString()
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DTimerTest.cpp46 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/
DTimers.cpp29 nsecs_t systemTime(int clock) { in systemTime() function
38 nsecs_t systemTime(int /*clock*/) { in systemTime() function
DTimers.h100 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC);
102 nsecs_t systemTime(int clock);
/frameworks/base/core/jni/
Dandroid_os_SystemClock.cpp52 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/
DVibratorInputMapper.cpp60 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/
DSetFrameRate_test.cpp41 auto startTime = systemTime(); in PostBuffers()
42 while (systemTime() - startTime < s2ns(1)) { in PostBuffers()
/frameworks/base/libs/hwui/renderthread/
DHintSessionWrapper.cpp140 mLastFrameNotification = systemTime(); in updateTargetWorkDuration()
150 mLastFrameNotification = systemTime(); in reportActualWorkDuration()
173 nsecs_t now = systemTime(); in sendLoadResetHint()
/frameworks/av/services/camera/libcameraservice/utils/
DAutoConditionLock.cpp50 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + waitTime; in waitAndAcquire()
59 waitTime = failTime - systemTime(SYSTEM_TIME_MONOTONIC); in waitAndAcquire()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.cpp53 waitUntilNs = systemTime(SYSTEM_TIME_MONOTONIC) + timeoutMillis * 1000000LL; in pollOnce()
59 || (nowNs = systemTime(SYSTEM_TIME_MONOTONIC)) < waitUntilNs) in pollOnce()
/frameworks/av/media/libmedia/include/media/
DEventMetric.h150 :start_time_(systemTime()), metric_(metric) { in EventTimer()
155 metric_->Record(ns2us(systemTime() - start_time_), attribute_); in ~EventTimer()
/frameworks/native/libs/binder/
DPermissionCache.cpp101 nsecs_t t = -systemTime(); in checkPermission()
103 t += systemTime(); in checkPermission()
/frameworks/native/opengl/tests/swapinterval/
Dswapinterval.cpp107 nsecs_t start = systemTime(); in main()
116 t = systemTime() - start; in main()

12345678910