Home
last modified time | relevance | path

Searched refs:systemTime (Results 1 – 25 of 126) 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/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()
DOverlay.cpp67 mStartMonotonicNsecs = systemTime(CLOCK_MONOTONIC); in start()
68 mStartRealtimeNsecs = systemTime(CLOCK_REALTIME); in start()
404 window.presentationTime(systemTime(CLOCK_MONOTONIC) - holdTime); in doDrawInfoPage()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp149 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); in run()
164 nsecs_t start = systemTime(CLOCK_MONOTONIC); in run()
167 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); in run()
176 nsecs_t done = systemTime(CLOCK_MONOTONIC); in run()
184 nsecs_t end = systemTime(CLOCK_MONOTONIC); in run()
/frameworks/base/libs/hwui/
DFrameInfo.h103 void markSyncStart() { set(FrameInfoIndex::SyncStart) = systemTime(CLOCK_MONOTONIC); } in markSyncStart()
106 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(CLOCK_MONOTONIC); in markIssueDrawCommandsStart()
109 void markSwapBuffers() { set(FrameInfoIndex::SwapBuffers) = systemTime(CLOCK_MONOTONIC); } in markSwapBuffers()
111 void markFrameCompleted() { set(FrameInfoIndex::FrameCompleted) = systemTime(CLOCK_MONOTONIC); } in markFrameCompleted()
/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/unittests/
DLayerHistoryTest.cpp84 nsecs_t startTime = systemTime(); in TEST_F()
104 nsecs_t startTime = systemTime(); in TEST_F()
110 startTime = systemTime(); 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/base/native/android/
Dchoreographer.cpp113 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in postFrameCallbackDelayed()
134 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in scheduleCallbacks()
149 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in dispatchVsync()
/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/native/opengl/tests/swapinterval/
Dswapinterval.cpp107 nsecs_t start = systemTime(); in main()
116 t = systemTime() - start; in main()
/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/services/surfaceflinger/Scheduler/
DRefreshRateStats.h106 nsecs_t currentTime = systemTime(); in flushTime()
148 nsecs_t mPreviousRecordedTime = systemTime();
DLayerInfo.h101 systemTime() - scheduler::OBSOLETE_TIME_EPSILON_NS.count(); in isRelevant()
117 systemTime() - scheduler::LOW_ACTIVITY_EPSILON_NS.count(); in isLowActivityLayer()
DDispSync.cpp87 const nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in updateModel()
135 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
187 now = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
232 const nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in addEventListener()
788 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in computeNextRefresh()
831 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in dump()
DLayerInfo.cpp39 mLastUpdatedTime = std::max(lastPresentTime, systemTime()); in setLastPresentTime()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp145 nsecs_t now = systemTime(); in main()
150 nsecs_t t = systemTime() - now; in main()
/frameworks/av/media/libnblog/include/media/nblog/
DPerformanceAnalysis.h167 nsecs_t start{systemTime()};
179 start = systemTime(); in reset()
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp88 nsecs_t timeBefore = systemTime(); in primeCache()
127 nsecs_t timeAfter = systemTime(); in primeCache()
719 nsecs_t time = systemTime(); in useProgram()
721 time = systemTime() - time; in useProgram()
/frameworks/base/libs/hwui/renderthread/
DTimeLord.cpp34 nsecs_t now = systemTime(CLOCK_MONOTONIC); in computeFrameTimeNanos()
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp38 mVsyncRefreshAt = systemTime(SYSTEM_TIME_MONOTONIC) + kVsyncRefreshPeriod; in updateVsync()

123456