Home
last modified time | relevance | path

Searched refs:mTimeStats (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp183 std::unique_ptr<TimeStats> mTimeStats = member in android::__anon0d647eea0111::TimeStatsTest
219 EXPECT_NO_FATAL_FAILURE(mTimeStats->parseArgs(useProto, args, result)); in inputCommand()
230 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPostTime(id, frameNumber, genLayerName(id), ts)); in setTimeStamp()
233 ASSERT_NO_FATAL_FAILURE(mTimeStats->setAcquireTime(id, frameNumber, ts)); in setTimeStamp()
237 mTimeStats->setAcquireFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp()
240 ASSERT_NO_FATAL_FAILURE(mTimeStats->setLatchTime(id, frameNumber, ts)); in setTimeStamp()
243 ASSERT_NO_FATAL_FAILURE(mTimeStats->setDesiredTime(id, frameNumber, ts)); in setTimeStamp()
246 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPresentTime(id, frameNumber, ts)); in setTimeStamp()
250 mTimeStats->setPresentFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp()
263 ASSERT_FALSE(mTimeStats->isEnabled()); in TEST_F()
[all …]
DRefreshRateStatsTest.cpp54 mRefreshRateStats = std::make_unique<RefreshRateStats>(*mRefreshRateConfigs, mTimeStats, in init()
60 mock::TimeStats mTimeStats; member in android::scheduler::RefreshRateStatsTest
96 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F()
97 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F()
143 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F()
144 EXPECT_CALL(mTimeStats, recordRefreshRate(60, _)).Times(AtLeast(1)); in TEST_F()
145 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F()
DTestableSurfaceFlinger.h215 scheduler::RefreshRateStats>(*mFlinger->mRefreshRateConfigs, *mFlinger->mTimeStats,
DCompositionTest.cpp111 mFlinger.setupTimeStats(std::shared_ptr<TimeStats>(mTimeStats)); in CompositionTest()
191 mock::TimeStats* mTimeStats = new mock::TimeStats(); member in android::__anon4393af000111::CompositionTest
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatementResult.java32 private final Stats mTimeStats; field in TimedStatementResult
42 mTimeStats = timeStats; in TimedStatementResult()
55 mTimeStats.getMedian(), mTimeStats.getMin(), mTimeStats.getMax(), in toString()
57 UNITS_FORMAT.format((mTimeStats.getMedian() / mCalibrationTimeMs) * 100000), in toString()
58 UNITS_FORMAT.format((mTimeStats.getMin() / mCalibrationTimeMs) * 100000), in toString()
59 UNITS_FORMAT.format((mTimeStats.getMax() / mCalibrationTimeMs) * 100000), in toString()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp96 if (mTimeStats.statsStart == 0) { in populateGlobalAtom()
103 mStatsDelegate->statsEventWriteInt64(event, mTimeStats.totalFrames); in populateGlobalAtom()
104 mStatsDelegate->statsEventWriteInt64(event, mTimeStats.missedFrames); in populateGlobalAtom()
105 mStatsDelegate->statsEventWriteInt64(event, mTimeStats.clientCompositionFrames); in populateGlobalAtom()
106 mStatsDelegate->statsEventWriteInt64(event, mTimeStats.displayOnTime); in populateGlobalAtom()
107 mStatsDelegate->statsEventWriteInt64(event, mTimeStats.presentToPresent.totalTime()); in populateGlobalAtom()
108 mStatsDelegate->statsEventWriteInt32(event, mTimeStats.displayEventConnectionsCount); in populateGlobalAtom()
110 histogramToProtoByteString(mTimeStats.frameDuration.hist, mMaxPulledHistogramBuckets); in populateGlobalAtom()
114 histogramToProtoByteString(mTimeStats.renderEngineTiming.hist, in populateGlobalAtom()
128 for (const auto& ele : mTimeStats.stats) { in populateLayerAtom()
[all …]
DTimeStats.h289 TimeStatsHelper::TimeStatsGlobal mTimeStats; variable
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h47 mTimeStats(timeStats), in RefreshRateStats()
123 mTimeStats.recordRefreshRate(fps, timeElapsed); in flushTime()
141 TimeStats& mTimeStats; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp76 return *mTimeStats.get(); in getTimeStats()
80 mTimeStats = timeStats; in setTimeStats()
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp122 mFlinger->mTimeStats->incrementBadDesiredPresent(getSequence()); in shouldPresentNow()
153 mFlinger->mTimeStats->incrementLatchSkipped(getSequence(), in fenceHasSignaled()
284 mFlinger->mTimeStats->removeTimeRecord(layerId, mQueueItems[0].mFrameNumber); in updateTexImage()
298 mFlinger->mTimeStats->onDestroy(layerId); in updateTexImage()
321 mFlinger->mTimeStats->removeTimeRecord(layerId, mQueueItems[0].mFrameNumber); in updateTexImage()
330 mFlinger->mTimeStats->setLatchTime(layerId, currentFrameNumber, latchTime); in updateTexImage()
DBufferStateLayer.cpp274 mFlinger->mTimeStats->setPostTime(layerId, mCurrentState.frameNumber, getName().c_str(), in setBuffer()
432 mFlinger->mTimeStats->incrementLatchSkipped(getSequence(), in fenceHasSignaled()
557 mFlinger->mTimeStats->removeTimeRecord(layerId, mDrawingState.frameNumber); in updateTexImage()
575 mFlinger->mTimeStats->onDestroy(layerId); in updateTexImage()
580 mFlinger->mTimeStats->setAcquireFence(layerId, mDrawingState.frameNumber, in updateTexImage()
582 mFlinger->mTimeStats->setLatchTime(layerId, mDrawingState.frameNumber, latchTime); in updateTexImage()
DBufferLayer.cpp85 mFlinger->mTimeStats->onDestroy(layerId); in ~BufferLayer()
343 mFlinger->mTimeStats->setDesiredTime(layerId, mCurrentFrameNumber, desiredPresentTime); in onPostComposition()
363 mFlinger->mTimeStats->setPresentFence(layerId, mCurrentFrameNumber, presentFence); in onPostComposition()
374 mFlinger->mTimeStats->setPresentTime(layerId, mCurrentFrameNumber, actualPresentTime); in onPostComposition()
DSurfaceFlinger.cpp316 mTimeStats(std::make_shared<impl::TimeStats>()), in SurfaceFlinger()
595 mTimeStats->onBootFinished(); in bootFinished()
689 mCompositionEngine->setTimeStats(mTimeStats); in init()
1074 mTimeStats->incrementRefreshRateSwitches(); in setActiveConfigInternal()
1895 mTimeStats->incrementMissedFrames(); in onMessageInvalidate()
2094 mTimeStats->recordFrameDuration(mFrameStartTime, systemTime()); in onMessageRefresh()
2121 mTimeStats->incrementCompositionStrategyChanges(); in onMessageRefresh()
2297 mTimeStats->incrementTotalFrames(); in postComposition()
2299 mTimeStats->incrementClientCompositionFrames(); in postComposition()
2303 mTimeStats->incrementClientCompositionReusedFrames(); in postComposition()
[all …]
DLayer.cpp1677 mFlinger->mTimeStats->onDestroy(layerId); in onDisconnect()
1684 mFlinger->mTimeStats->setPostTime(getSequence(), newTimestamps->frameNumber, in addAndGetFrameTimestamps()
1686 mFlinger->mTimeStats->setAcquireFence(getSequence(), newTimestamps->frameNumber, in addAndGetFrameTimestamps()
DSurfaceFlinger.h1093 const std::shared_ptr<TimeStats> mTimeStats; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCompositionEngineTest.cpp44 std::shared_ptr<TimeStats> mTimeStats; member
72 mEngine.setTimeStats(mTimeStats); in TEST_F()
74 EXPECT_EQ(mTimeStats.get(), &mEngine.getTimeStats()); in TEST_F()
DOutputTest.cpp2806 .WillRepeatedly(ReturnRef(*mTimeStats.get())); in OutputComposeSurfacesTest()
2848 std::shared_ptr<TimeStats> mTimeStats = std::make_shared<android::impl::TimeStats>(); member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DCompositionEngine.h62 std::shared_ptr<TimeStats> mTimeStats; variable