Home
last modified time | relevance | path

Searched refs:SYSTEM_TIME_MONOTONIC (Results 1 – 25 of 96) sorted by relevance

1234

/aosp12/frameworks/base/libs/hwui/
H A DFrameInfo.h126 void markSyncStart() { set(FrameInfoIndex::SyncStart) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSyncStart()
129 set(FrameInfoIndex::IssueDrawCommandsStart) = systemTime(SYSTEM_TIME_MONOTONIC); in markIssueDrawCommandsStart()
132 void markSwapBuffers() { set(FrameInfoIndex::SwapBuffers) = systemTime(SYSTEM_TIME_MONOTONIC); } in markSwapBuffers()
135 set(FrameInfoIndex::SwapBuffersCompleted) = systemTime(SYSTEM_TIME_MONOTONIC); in markSwapBuffersCompleted()
138 …d markFrameCompleted() { set(FrameInfoIndex::FrameCompleted) = systemTime(SYSTEM_TIME_MONOTONIC); } in markFrameCompleted()
/aosp12/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp142 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
155 nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
158 nsecs_t vsync = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
170 nsecs_t done = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
178 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in doRun()
/aosp12/system/core/libutils/
H A DSystemClock.cpp50 return systemTime(SYSTEM_TIME_MONOTONIC); in uptimeNanos()
77 return systemTime(SYSTEM_TIME_MONOTONIC); in elapsedRealtimeNano()
H A DLooper.cpp218 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner()
307 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner()
377 nsecs_t endTime = systemTime(SYSTEM_TIME_MONOTONIC) in pollAll()
386 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollAll()
576 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessage()
582 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessageDelayed()
H A DTimers_test.cpp24 systemTime(SYSTEM_TIME_MONOTONIC); in TEST()
/aosp12/hardware/interfaces/automotive/evs/1.0/vts/functional/
H A DVtsHalEvsV1_0TargetTest.cpp323 nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_P()
329 nsecs_t firstFrame = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_P()
330 nsecs_t timeToFirstFrame = systemTime(SYSTEM_TIME_MONOTONIC) - start; in TEST_P()
342 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_P()
540 nsecs_t firstFrame = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_P()
544 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_P()
/aosp12/frameworks/av/media/tests/benchmark/src/native/common/utils/
H A DTimers.h92 SYSTEM_TIME_MONOTONIC = 1, // monotonic time since unspecified starting point enumerator
100 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC);
/aosp12/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DALooper.cpp55 waitUntilNs = systemTime(SYSTEM_TIME_MONOTONIC) + timeoutMillis * 1000000LL; in pollOnce()
61 || (nowNs = systemTime(SYSTEM_TIME_MONOTONIC)) < waitUntilNs) in pollOnce()
/aosp12/system/core/libutils/include/utils/
H A DTimers.h77 SYSTEM_TIME_MONOTONIC = 1, // monotonic time since unspecified starting point enumerator
85 nsecs_t systemTime(int clock = SYSTEM_TIME_MONOTONIC);
H A DStopWatch.h28 StopWatch(const char* name, int clock = SYSTEM_TIME_MONOTONIC);
/aosp12/frameworks/av/services/camera/libcameraservice/utils/
H A DAutoConditionLock.cpp50 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + waitTime; in waitAndAcquire()
59 waitTime = failTime - systemTime(SYSTEM_TIME_MONOTONIC); in waitAndAcquire()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DDrawFrameTask.cpp129 mSyncQueued = systemTime(SYSTEM_TIME_MONOTONIC); in drawFrame()
144 nsecs_t syncDelayDuration = systemTime(SYSTEM_TIME_MONOTONIC) - mSyncQueued; in run()
213 int64_t frameDuration = systemTime(SYSTEM_TIME_MONOTONIC) - frameStartTime; in run()
H A DTimeLord.cpp55 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in computeFrameTimeNanos()
/aosp12/frameworks/native/libs/nativewindow/tests/
H A DANativeWindowTest.cpp162 nsecs_t start = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
164 nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
/aosp12/frameworks/rs/
H A DrsScriptC_Lib.cpp97 return nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_MONOTONIC)); in rsrUptimeMillis()
101 return systemTime(SYSTEM_TIME_MONOTONIC); in rsrUptimeNanos()
106 sc->mEnviroment.mLastDtTime = systemTime(SYSTEM_TIME_MONOTONIC); in rsrGetDt()
/aosp12/hardware/libhardware/tests/input/evdev/
H A DInputDevice_test.cpp72 auto now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
88 auto now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
/aosp12/frameworks/native/libs/input/
H A DPropertyMap.cpp123 nsecs_t startTime = systemTime(SYSTEM_TIME_MONOTONIC); in load()
128 nsecs_t elapsedTime = systemTime(SYSTEM_TIME_MONOTONIC) - startTime; in load()
/aosp12/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp89 const nsecs_t publishTime = systemTime(SYSTEM_TIME_MONOTONIC); in PublishAndConsumeKeyEvent()
172 const nsecs_t publishTime = systemTime(SYSTEM_TIME_MONOTONIC); in PublishAndConsumeMotionEvent()
296 const nsecs_t publishTime = systemTime(SYSTEM_TIME_MONOTONIC); in PublishAndConsumeFocusEvent()
338 const nsecs_t publishTime = systemTime(SYSTEM_TIME_MONOTONIC); in PublishAndConsumeCaptureEvent()
380 const nsecs_t publishTime = systemTime(SYSTEM_TIME_MONOTONIC); in PublishAndConsumeDragEvent()
/aosp12/frameworks/av/media/libstagefright/
H A DVideoFrameScheduler.cpp38 mVsyncRefreshAt = systemTime(SYSTEM_TIME_MONOTONIC) + kVsyncRefreshPeriod; in updateVsync()
/aosp12/packages/services/Car/cpp/evs/manager/1.1/stats/
H A DLooperWrapper.h39 virtual nsecs_t now() { return systemTime(SYSTEM_TIME_MONOTONIC); } in now()
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DLooperWrapper.h38 virtual nsecs_t now() { return systemTime(SYSTEM_TIME_MONOTONIC); } in now()
/aosp12/frameworks/base/libs/hwui/hwui/
H A DAnimatedImageDrawable.cpp71 const nsecs_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in isDirty()
290 const nsecs_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in drawStaging()
/aosp12/system/connectivity/wificond/
H A Dclient_interface_impl.cpp294 nsecs_t start_time_ns = systemTime(SYSTEM_TIME_MONOTONIC); in SendMgmtFrame()
298 nsecs_t end_time_ns = systemTime(SYSTEM_TIME_MONOTONIC); in SendMgmtFrame()
/aosp12/packages/services/Car/cpp/evs/manager/1.1/emul/
H A DVideoCapture.cpp387 int64_t now = nanoseconds_to_milliseconds(systemTime(SYSTEM_TIME_MONOTONIC)); in collectFrames()
428 mLastTimeFrameSent = systemTime(SYSTEM_TIME_MONOTONIC); in handleMessage()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DCompositionEngineTest.cpp212 const nsecs_t before = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()
214 const nsecs_t after = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F()

1234