Home
last modified time | relevance | path

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

123

/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_api.cpp45 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); in GLTrace_glActiveTexture()
46 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); in GLTrace_glActiveTexture()
48 nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); in GLTrace_glActiveTexture()
49 nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); in GLTrace_glActiveTexture()
79 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); in GLTrace_glAttachShader()
80 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); in GLTrace_glAttachShader()
82 nsecs_t threadEndTime = systemTime(SYSTEM_TIME_THREAD); in GLTrace_glAttachShader()
83 nsecs_t wallEndTime = systemTime(SYSTEM_TIME_MONOTONIC); in GLTrace_glAttachShader()
119 nsecs_t wallStartTime = systemTime(SYSTEM_TIME_MONOTONIC); in GLTrace_glBindAttribLocation()
120 nsecs_t threadStartTime = systemTime(SYSTEM_TIME_THREAD); in GLTrace_glBindAttribLocation()
[all …]
Dgltrace_egl.cpp48 glmessage.set_start_time(systemTime()); in GLTrace_eglCreateContext()
68 glmessage.set_start_time(systemTime()); in GLTrace_eglMakeCurrent()
87 glmessage.set_start_time(systemTime()); in GLTrace_eglSwapBuffers()
/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.cpp321 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/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp96 nsecs_t timeBefore = systemTime(); in primeCache()
113 nsecs_t timeAfter = systemTime(); in primeCache()
236 nsecs_t time = -systemTime(); in useProgram()
239 time += systemTime(); in useProgram()
/frameworks/base/libs/hwui/
DDrawProfiler.cpp87 mPreviousTime = systemTime(CLOCK_MONOTONIC); in startFrame()
92 nsecs_t now = systemTime(CLOCK_MONOTONIC); in markPlaybackStart()
99 nsecs_t now = systemTime(CLOCK_MONOTONIC); in markPlaybackEnd()
106 nsecs_t now = systemTime(CLOCK_MONOTONIC); in finishFrame()
/frameworks/native/libs/binder/
DPermissionCache.cpp101 nsecs_t t = -systemTime(); in checkPermission()
103 t += systemTime(); in checkPermission()
/frameworks/rs/
DrsScriptC_Lib.cpp109 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_MONOTONIC)); in rsrUptimeMillis()
117 return systemTime(SYSTEM_TIME_MONOTONIC); in rsrUptimeNanos()
126 sc->mEnviroment.mLastDtTime = systemTime(SYSTEM_TIME_MONOTONIC); in rsrGetDt()
/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/swapinterval/
Dswapinterval.cpp107 nsecs_t start = systemTime(); in main()
116 t = systemTime() - start; in main()
/frameworks/native/services/surfaceflinger/
DDispSync.cpp79 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
121 now = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
165 listener.mLastEventTime = systemTime(SYSTEM_TIME_MONOTONIC) - mPeriod / 2; in addEventListener()
506 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in computeNextRefresh()
540 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in dump()
DEventThread.cpp166 event.header.timestamp = systemTime(); in onHotplugReceived()
318 mVSyncEvent[0].header.timestamp = systemTime(SYSTEM_TIME_MONOTONIC); in waitForEvent()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp143 nsecs_t now = systemTime(); in main()
148 nsecs_t t = systemTime() - now; in main()
/frameworks/base/libs/hwui/renderthread/
DTimeLord.cpp35 nsecs_t now = systemTime(CLOCK_MONOTONIC); in computeFrameTimeMs()
DRenderThread.cpp268 nsecs_t timeoutNanos = nextWakeup - systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
303 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in queueDelayed()
336 if (next->mRunAt <= 0 || next->mRunAt <= systemTime(SYSTEM_TIME_MONOTONIC)) { in nextTask()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp355 const nsecs_t startTime = systemTime(); in android()
357 nsecs_t now = systemTime(); in android()
381 const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now); in android()
578 nsecs_t lastFrame = systemTime(); in movie()
607 nsecs_t lastFrame = systemTime(); in movie()
636 nsecs_t now = systemTime(); in movie()
/frameworks/base/libs/common_time/
Dutils.h40 int msecTillTimeout() { return msecTillTimeout(systemTime()); } in msecTillTimeout()
/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/av/cmds/stagefright/
Drecordvideo.cpp305 int64_t start = systemTime(); in main()
311 int64_t end = systemTime(); in main()
/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp113 systemTime(CLOCK_MONOTONIC)); in acquireBuffer()
136 systemTime(CLOCK_MONOTONIC)); in acquireBuffer()
143 systemTime(CLOCK_MONOTONIC)); in acquireBuffer()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp77 sStartTime = systemTime(); in main()
/frameworks/av/media/libmedia/
DToneGenerator.cpp827 ALOGV("ToneGenerator INIT OK, time: %d", (unsigned int)(systemTime()/1000000)); in ToneGenerator()
917 ALOGV("Immediate start, time %d", (unsigned int)(systemTime()/1000000)); in startTone()
955 ALOGV_IF(lResult, "Tone started, time %d", (unsigned int)(systemTime()/1000000)); in startTone()
956 ALOGW_IF(!lResult, "Tone start failed!!!, time %d", (unsigned int)(systemTime()/1000000)); in startTone()
1013 ALOGV("track stop complete, time %d", (unsigned int)(systemTime()/1000000)); in stopTone()
1171 ALOGV("End Segment, time: %d", (unsigned int)(systemTime()/1000000)); in audioCallback()
1234 ALOGV("End repeat, time: %d", (unsigned int)(systemTime()/1000000)); in audioCallback()
/frameworks/av/media/libstagefright/foundation/
DALooper.cpp66 return systemTime(SYSTEM_TIME_MONOTONIC) / 1000ll; in GetNowUs()

123