Home
last modified time | relevance | path

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

123456

/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/native/services/surfaceflinger/tests/unittests/
DTransactionApplicationTest.cpp129 EXPECT_CALL(*mPrimaryDispSync, expectedPresentTime(_)).WillOnce(Return(systemTime())); in NotPlacedOnTransactionQueue()
133 nsecs_t applicationTime = systemTime(); in NotPlacedOnTransactionQueue()
144 nsecs_t returnedTime = systemTime(); in NotPlacedOnTransactionQueue()
161 nsecs_t time = systemTime(); in PlaceOnTransactionQueue()
167 nsecs_t applicationSentTime = systemTime(); in PlaceOnTransactionQueue()
173 nsecs_t returnedTime = systemTime(); in PlaceOnTransactionQueue()
183 nsecs_t time = systemTime(); in BlockedByPriorTransaction()
198 nsecs_t applicationSentTime = systemTime(); in BlockedByPriorTransaction()
207 EXPECT_LE(systemTime(), applicationSentTime + s2ns(5)); in BlockedByPriorTransaction()
209 applicationSentTime = systemTime(); in BlockedByPriorTransaction()
[all …]
DLayerHistoryTestV2.cpp131 const nsecs_t time = systemTime(); in TEST_F()
162 nsecs_t time = systemTime(); in TEST_F()
186 nsecs_t time = systemTime(); in TEST_F()
209 nsecs_t time = systemTime(); in TEST_F()
236 nsecs_t time = systemTime(); in TEST_F()
264 nsecs_t time = systemTime(); in TEST_F()
292 nsecs_t time = systemTime(); in TEST_F()
324 nsecs_t time = systemTime(); in TEST_F()
362 nsecs_t time = systemTime(); in TEST_F()
508 nsecs_t time = systemTime(); in TEST_F()
[all …]
DFrameTracerTest.cpp228 const nsecs_t timestamp = systemTime(); in TEST_F()
274 const nsecs_t signalTime1 = systemTime(); in TEST_F()
281 const nsecs_t signalTime2 = systemTime(); in TEST_F()
320 const nsecs_t signalTime = systemTime() - FrameTracer::kFenceSignallingDeadline; in TEST_F()
355 const nsecs_t signalTime1 = systemTime(); in TEST_F()
362 const nsecs_t signalTime2 = systemTime(); in TEST_F()
/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/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/tests/macrobench/
DTestSceneRunner.cpp147 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in run()
162 nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); in run()
165 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in run()
174 nsecs_t done = systemTime(SYSTEM_TIME_MONOTONIC); in run()
182 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in run()
/frameworks/base/libs/hwui/
DFrameInfo.h105 void markSyncStart() { set(FrameInfoIndex::SyncStart) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSyncStart()
108 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(SYSTEM_TIME_MONOTONIC); in markIssueDrawCommandsStart()
111 void markSwapBuffers() { set(FrameInfoIndex::SwapBuffers) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSwapBuffers()
113 …void markFrameCompleted() { set(FrameInfoIndex::FrameCompleted) = systemTime(SYSTEM_TIME_MONOTONIC… in markFrameCompleted()
/frameworks/base/core/jni/
Dandroid_os_SystemClock.cpp50 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_THREAD)); in android_os_SystemClock_currentThreadTimeMillis()
58 return nanoseconds_to_microseconds(systemTime(SYSTEM_TIME_THREAD)); in android_os_SystemClock_currentThreadTimeMicro()
/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/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/native/services/surfaceflinger/tests/
DSetFrameRate_test.cpp45 auto startTime = systemTime(); in PostBuffers()
46 while (systemTime() - startTime < s2ns(1)) { in PostBuffers()
DLayerTransaction_test.cpp179 const auto displayTime = systemTime() + milliseconds_to_nanoseconds(100); in TEST_F()
186 const auto startTime = systemTime(); in TEST_F()
189 while (nanoseconds_to_seconds(systemTime() - startTime) < 10) { in TEST_F()
/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/av/services/audioflinger/
DTrackMetrics.h67 mIntervalStartTimeNs = systemTime(); in logBeginInterval()
93 const int64_t elapsedTimeNs = systemTime() - mIntervalStartTimeNs; in logEndInterval()
120 const int64_t timeNs = systemTime(); in logVolume()
/frameworks/native/libs/binder/
DPermissionCache.cpp101 nsecs_t t = -systemTime(); in checkPermission()
103 t += systemTime(); in checkPermission()
/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/av/media/utils/
DTimeCheck.cpp87 nsecs_t endTimeNs = systemTime() + milliseconds(timeoutMs); in startMonitoring()
118 const nsecs_t waitTimeNs = endTimeNs - systemTime(); in threadLoop()
/frameworks/native/opengl/tests/swapinterval/
Dswapinterval.cpp107 nsecs_t start = systemTime(); in main()
116 t = systemTime() - start; in main()
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp256 nsecs_t desiredPresentTime = systemTime() + nsecs_t(5 * 1e8); in TEST_F()
266 ASSERT_GE(systemTime(), desiredPresentTime); in TEST_F()
294 IGraphicBufferProducer::QueueBufferInput input(systemTime(), false, HAL_DATASPACE_UNKNOWN, in TEST_F()
344 IGraphicBufferProducer::QueueBufferInput input(systemTime(), false, HAL_DATASPACE_UNKNOWN, in TEST_F()
377 IGraphicBufferProducer::QueueBufferInput input(systemTime(), false, HAL_DATASPACE_UNKNOWN, in TEST_F()
438 IGraphicBufferProducer::QueueBufferInput input(systemTime(), false, HAL_DATASPACE_UNKNOWN, in TEST_F()
484 IGraphicBufferProducer::QueueBufferInput input(systemTime(), false, HAL_DATASPACE_UNKNOWN, in test()
667 nsecs_t requestedTime = systemTime(); in setUpAndQueueBuffer()
674 if (postedTime) *postedTime = systemTime(); in setUpAndQueueBuffer()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h106 nsecs_t currentTime = systemTime(); in flushTime()
150 nsecs_t mPreviousRecordedTime = systemTime();
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h167 nsecs_t start{systemTime()};
179 start = systemTime(); in reset()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp145 nsecs_t now = systemTime(); in main()
150 nsecs_t t = systemTime() - now; in main()

123456