Home
last modified time | relevance | path

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

1234

/frameworks/native/opengl/tests/finish/
Dfinish.cpp91 now = systemTime(); in main()
93 t = systemTime(); in main()
108 now = systemTime(); in main()
111 t = systemTime(); in main()
122 now = systemTime(); in main()
125 t = systemTime(); in main()
136 now = systemTime(); in main()
140 t = systemTime(); in main()
151 now = systemTime(); in main()
155 t = systemTime(); in main()
[all …]
/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.cpp68 mStartMonotonicNsecs = systemTime(CLOCK_MONOTONIC); in start()
69 mStartRealtimeNsecs = systemTime(CLOCK_REALTIME); in start()
401 window.presentationTime(systemTime(CLOCK_MONOTONIC) - holdTime); in doDrawInfoPage()
Dscreenrecord.cpp324 int64_t startWhenNsec = systemTime(CLOCK_MONOTONIC); in runEncoder()
343 if (systemTime(CLOCK_MONOTONIC) > endWhenNsec) { in runEncoder()
393 ptsUsec = systemTime(SYSTEM_TIME_MONOTONIC) / 1000; in runEncoder()
479 systemTime(CLOCK_MONOTONIC) - startWhenNsec)); in runEncoder()
/frameworks/base/libs/hwui/
DFrameInfo.h106 set(FrameInfoIndex::SyncStart) = systemTime(CLOCK_MONOTONIC); in markSyncStart()
110 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(CLOCK_MONOTONIC); in markIssueDrawCommandsStart()
114 set(FrameInfoIndex::SwapBuffers) = systemTime(CLOCK_MONOTONIC); in markSwapBuffers()
118 set(FrameInfoIndex::FrameCompleted) = systemTime(CLOCK_MONOTONIC); in markFrameCompleted()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp96 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); in run()
108 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); in run()
117 nsecs_t done = systemTime(CLOCK_MONOTONIC); in run()
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp96 nsecs_t timeBefore = systemTime(); in primeCache()
113 nsecs_t timeAfter = systemTime(); in primeCache()
234 nsecs_t time = -systemTime(); in useProgram()
237 time += systemTime(); in useProgram()
/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()
152 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in dispatchVsync()
/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/native/libs/binder/
DPermissionCache.cpp101 nsecs_t t = -systemTime(); in checkPermission()
103 t += systemTime(); in checkPermission()
/frameworks/base/libs/hwui/tests/unit/
Dmain.cpp96 nsecs_t before = systemTime(); in checkForLeaks()
114 nsecs_t after = systemTime(); in checkForLeaks()
/frameworks/native/opengl/tests/swapinterval/
Dswapinterval.cpp107 nsecs_t start = systemTime(); in main()
116 t = systemTime() - start; in main()
/frameworks/native/libs/input/
DVirtualKeyMap.cpp63 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in load()
68 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp145 nsecs_t now = systemTime(); in main()
150 nsecs_t t = systemTime() - now; in main()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp105 sysTime = systemTime(); in isActive()
129 sysTime = systemTime(); in isStreamActive()
449 nsecs_t sysTime = systemTime(); in isStreamActive()
462 nsecs_t sysTime = systemTime(); in isStreamActiveRemotely()
554 nsecs_t sysTime = systemTime(); in isStreamActive()
/frameworks/rs/
DrsScriptC_Lib.cpp104 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_MONOTONIC)); in rsrUptimeMillis()
112 return systemTime(SYSTEM_TIME_MONOTONIC); in rsrUptimeNanos()
121 sc->mEnviroment.mLastDtTime = systemTime(SYSTEM_TIME_MONOTONIC); in rsrGetDt()
/frameworks/base/libs/hwui/renderthread/
DTimeLord.cpp37 nsecs_t now = systemTime(CLOCK_MONOTONIC); in computeFrameTimeNanos()
DRenderThread.cpp293 nsecs_t timeoutNanos = nextWakeup - systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
383 if (next->mRunAt <= 0 || next->mRunAt <= systemTime(SYSTEM_TIME_MONOTONIC)) { in nextTask()
/frameworks/native/services/surfaceflinger/
DDispSync.cpp99 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
154 now = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
198 listener.mLastEventTime = systemTime() - mPeriod / 2 + mPhase - in addEventListener()
639 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in computeNextRefresh()
674 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java184 final int systemTime = stats.getLastSystemTime(); in onDraw() local
190 final int totalTime = userTime+systemTime+iowaitTime+irqTime+softIrqTime+idleTime; in onDraw()
195 int systemW = (systemTime*W)/totalTime; in onDraw()
/frameworks/base/libs/common_time/
Dutils.h40 int msecTillTimeout() { return msecTillTimeout(systemTime()); } in msecTillTimeout()
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp319 int64_t start = systemTime(); in main()
325 int64_t end = systemTime(); in main()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp78 sStartTime = systemTime(); in main()
/frameworks/av/media/libmedia/
DToneGenerator.cpp881 ALOGV("ToneGenerator INIT OK, time: %d", (unsigned int)(systemTime()/1000000)); in ToneGenerator()
972 ALOGV("Immediate start, time %d", (unsigned int)(systemTime()/1000000)); in startTone()
1010 ALOGV_IF(lResult, "Tone started, time %d", (unsigned int)(systemTime()/1000000)); in startTone()
1011 ALOGW_IF(!lResult, "Tone start failed!!!, time %d", (unsigned int)(systemTime()/1000000)); in startTone()
1067 ALOGV("track stop complete, time %d", (unsigned int)(systemTime()/1000000)); in stopTone()
1215 ALOGV("End Segment, time: %d", (unsigned int)(systemTime()/1000000)); in audioCallback()
1278 ALOGV("End repeat, time: %d", (unsigned int)(systemTime()/1000000)); in audioCallback()
/frameworks/native/libs/gui/
DOccupancyTracker.cpp65 nsecs_t now = systemTime(); in registerOccupancyChange()

1234