Home
last modified time | relevance | path

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

12

/frameworks/base/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/base/services/surfaceflinger/
DMessageQueue.cpp69 const nsecs_t timeoutTime = systemTime() + timeout; in waitMessage()
72 nsecs_t now = systemTime(); in waitMessage()
118 const nsecs_t reltime = nextEventTime - systemTime(); in waitMessage()
165 message->when = systemTime() + relTime; in queueMessage()
/frameworks/base/libs/utils/
DSystemClock.cpp100 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); in uptimeMillis()
130 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); in elapsedRealtime()
134 int64_t when = systemTime(SYSTEM_TIME_MONOTONIC); in elapsedRealtime()
DLooper.cpp220 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner()
238 nsecs_t pollStartTime = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner()
345 nsecs_t pollEndTime = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner()
370 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner()
434 nsecs_t endTime = systemTime(SYSTEM_TIME_MONOTONIC) in pollAll()
443 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollAll()
460 mPendingWakeTime = systemTime(SYSTEM_TIME_MONOTONIC); in wake()
487 mSampledWakeLatencySum += systemTime(SYSTEM_TIME_MONOTONIC) - mPendingWakeTime; in awoken()
665 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessage()
671 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessageDelayed()
DStopWatch.cpp71 return systemTime(mClock) - mStartTime; in elapsedTime()
77 mStartTime = systemTime(mClock); in reset()
DPropertyMap.cpp132 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in load()
137 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load()
DTimers.cpp35 nsecs_t systemTime(int clock) in systemTime() function
/frameworks/base/include/utils/
DTimers.h86 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC);
88 nsecs_t systemTime(int clock);
/frameworks/base/opengl/libs/GLES2_dbg/src/
Dvertex.cpp53 nsecs_t c0 = systemTime(timeMode); in Debug_glDrawArrays()
57 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glDrawArrays()
163 nsecs_t c0 = systemTime(timeMode); in Debug_glDrawElements()
167 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glDrawElements()
Dserver.cpp196 nsecs_t c0 = systemTime(timeMode); in Send()
198 float t = (float)ns2ms(systemTime(timeMode) - c0); in Send()
267 nsecs_t c0 = systemTime(timeMode); in MessageLoop()
274 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in MessageLoop()
Dapi.cpp1124 nsecs_t c0 = systemTime(timeMode); in Debug_glGenBuffers()
1126 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glGenBuffers()
1167 nsecs_t c0 = systemTime(timeMode); in Debug_glGenFramebuffers()
1169 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glGenFramebuffers()
1192 nsecs_t c0 = systemTime(timeMode); in Debug_glGenRenderbuffers()
1194 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glGenRenderbuffers()
1217 nsecs_t c0 = systemTime(timeMode); in Debug_glGenTextures()
1219 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glGenTextures()
1516 nsecs_t c0 = systemTime(timeMode); in Debug_glGetProgramiv()
1518 msg.set_time((systemTime(timeMode) - c0) * 1e-6f); in Debug_glGetProgramiv()
[all …]
/frameworks/base/libs/ui/
DGraphicLog.cpp62 writeInt64(scratch, pos, ns2ms( systemTime( SYSTEM_TIME_MONOTONIC ) )); in logImpl()
74 writeInt64(scratch, pos, ns2ms( systemTime( SYSTEM_TIME_MONOTONIC ) )); in logImpl()
DVirtualKeyMap.cpp62 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in load()
67 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load()
DKeyLayoutMap.cpp64 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in load()
69 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load()
/frameworks/base/libs/rs/
DrsScriptC_Lib.cpp100 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_MONOTONIC)); in rsrUptimeMillis()
104 return systemTime(SYSTEM_TIME_MONOTONIC); in rsrUptimeNanos()
109 sc->mEnviroment.mLastDtTime = systemTime(SYSTEM_TIME_MONOTONIC); in rsrGetDt()
/frameworks/base/libs/binder/
DPermissionCache.cpp101 nsecs_t t = -systemTime(); in checkPermission()
103 t += systemTime(); in checkPermission()
/frameworks/base/opengl/tests/swapinterval/
Dswapinterval.cpp106 nsecs_t start = systemTime(); in main()
115 t = systemTime() - start; in main()
/frameworks/base/opengl/tests/fillrate/
Dfillrate.cpp142 nsecs_t now = systemTime(); in main()
147 nsecs_t t = systemTime() - now; in main()
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.cpp52 mCacheStartTime = systemTime(SYSTEM_TIME_MONOTONIC); in init()
113 startTime = systemTime(SYSTEM_TIME_MONOTONIC); in getValue()
125 startTime = systemTime(SYSTEM_TIME_MONOTONIC); in getValue()
133 nsecs_t endTime = systemTime(SYSTEM_TIME_MONOTONIC); in getValue()
180 nsecs_t elapsedTimeThruCacheGet = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in getValue()
204 float timeRunningInSec = (systemTime(SYSTEM_TIME_MONOTONIC) - mCacheStartTime) / 1000000000; in dumpCacheStats()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp326 const nsecs_t startTime = systemTime(); in android()
328 nsecs_t now = systemTime(); in android()
352 const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now); in android()
458 nsecs_t lastFrame = systemTime(); in movie()
502 nsecs_t now = systemTime(); in movie()
/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/cmds/stagefright/
Drecordvideo.cpp285 int64_t start = systemTime(); in main()
290 int64_t end = systemTime(); in main()
/frameworks/base/services/sensorservice/tests/
Dsensorservicetest.cpp77 sStartTime = systemTime(); in main()
/frameworks/base/media/libmedia/
DToneGenerator.cpp832 LOGV("ToneGenerator INIT OK, time: %d\n", (unsigned int)(systemTime()/1000000)); in ToneGenerator()
918 LOGV("Immediate start, time %d\n", (unsigned int)(systemTime()/1000000)); in startTone()
952 LOGV_IF(lResult, "Tone started, time %d\n", (unsigned int)(systemTime()/1000000)); in startTone()
953 LOGW_IF(!lResult, "Tone start failed!!!, time %d\n", (unsigned int)(systemTime()/1000000)); in startTone()
980 LOGV("track stop complete, time %d", (unsigned int)(systemTime()/1000000)); in stopTone()
1148 LOGV("End Segment, time: %d\n", (unsigned int)(systemTime()/1000000)); in audioCallback()
1211 LOGV("End repeat, time: %d\n", (unsigned int)(systemTime()/1000000)); in audioCallback()
/frameworks/base/services/jni/
Dcom_android_server_PowerManagerService.cpp83 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in android_server_PowerManagerService_userActivity()

12