/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatementResult.java | 32 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/tests/unittests/ |
D | TimeStatsTest.cpp | 165 std::unique_ptr<TimeStats> mTimeStats = member in android::__anon0d647eea0111::TimeStatsTest 200 EXPECT_NO_FATAL_FAILURE(mTimeStats->parseArgs(useProto, args, result)); in inputCommand() 212 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPostTime(id, frameNumber, genLayerName(id), in setTimeStamp() 216 ASSERT_NO_FATAL_FAILURE(mTimeStats->setAcquireTime(id, frameNumber, ts)); in setTimeStamp() 220 mTimeStats->setAcquireFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp() 223 ASSERT_NO_FATAL_FAILURE(mTimeStats->setLatchTime(id, frameNumber, ts)); in setTimeStamp() 226 ASSERT_NO_FATAL_FAILURE(mTimeStats->setDesiredTime(id, frameNumber, ts)); in setTimeStamp() 229 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPresentTime(id, frameNumber, ts, kRefreshRate0, in setTimeStamp() 234 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPresentFence(id, frameNumber, in setTimeStamp() 250 ASSERT_FALSE(mTimeStats->isEnabled()); in TEST_F() [all …]
|
D | RefreshRateStatsTest.cpp | 40 mRefreshRateStats = std::make_unique<RefreshRateStats>(mTimeStats, fps); in resetStats() 43 mock::TimeStats mTimeStats; member in android::scheduler::RefreshRateStatsTest 64 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F() 65 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F() 110 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F() 111 EXPECT_CALL(mTimeStats, recordRefreshRate(60, _)).Times(AtLeast(1)); in TEST_F() 112 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F()
|
D | CommitAndCompositeTest.h | 38 mFlinger.setupTimeStats(std::shared_ptr<TimeStats>(mTimeStats)); in SetUp() 81 mock::TimeStats* mTimeStats = new mock::TimeStats();
|
D | FrameTimelineTest.cpp | 85 mTimeStats = std::make_shared<mock::TimeStats>(); in SetUp() 86 mFrameTimeline = std::make_unique<impl::FrameTimeline>(mTimeStats, kSurfaceFlingerPid, in SetUp() 178 std::shared_ptr<mock::TimeStats> mTimeStats; member in android::frametimeline::FrameTimelineTest 301 EXPECT_CALL(*mTimeStats, incrementJankyFrames(_)).Times(2); in TEST_F() 346 EXPECT_CALL(*mTimeStats, incrementJankyFrames(_)).Times(1); in TEST_F() 399 EXPECT_CALL(*mTimeStats, incrementJankyFrames(_)) in TEST_F() 559 EXPECT_CALL(*mTimeStats, incrementJankyFrames(_)).Times(0); in TEST_F() 582 EXPECT_CALL(*mTimeStats, in TEST_F() 610 EXPECT_CALL(*mTimeStats, in TEST_F() 640 EXPECT_CALL(*mTimeStats, in TEST_F() [all …]
|
D | TestableSurfaceFlinger.h | 224 TimeStats& getTimeStats() { return *mFlinger->mTimeStats; } in getTimeStats() 256 *mFlinger->mTimeStats, 262 *mFlinger->mTimeStats, schedulerCallback);
|
D | CompositionTest.cpp | 110 mFlinger.setupTimeStats(std::shared_ptr<TimeStats>(mTimeStats)); in CompositionTest() 161 mock::TimeStats* mTimeStats = new mock::TimeStats(); member in android::__anon4393af000111::CompositionTest
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 97 if (mTimeStats.statsStartLegacy == 0) { in populateGlobalAtom() 102 for (const auto& globalSlice : mTimeStats.stats) { in populateGlobalAtom() 104 atom->set_total_frames(mTimeStats.totalFramesLegacy); in populateGlobalAtom() 105 atom->set_missed_frames(mTimeStats.missedFramesLegacy); in populateGlobalAtom() 106 atom->set_client_composition_frames(mTimeStats.clientCompositionFramesLegacy); in populateGlobalAtom() 107 atom->set_display_on_millis(mTimeStats.displayOnTimeLegacy); in populateGlobalAtom() 108 atom->set_animation_millis(mTimeStats.presentToPresentLegacy.totalTime()); in populateGlobalAtom() 112 histogramToProto(mTimeStats.frameDurationLegacy.hist, mMaxPulledHistogramBuckets); in populateGlobalAtom() 114 histogramToProto(mTimeStats.renderEngineTimingLegacy.hist, in populateGlobalAtom() 152 for (const auto& globalSlice : mTimeStats.stats) { in populateLayerAtom() [all …]
|
D | TimeStats.h | 311 TimeStatsHelper::TimeStatsGlobal mTimeStats; variable
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 53 : mTimeStats(timeStats), in RefreshRateStats() 71 mTimeStats.incrementRefreshRateSwitches(); in setRefreshRate() 142 mTimeStats.recordRefreshRate(fps, timeElapsed); in flushTime() 157 TimeStats& mTimeStats; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | CompositionEngine.cpp | 77 return mTimeStats.get(); in getTimeStats() 81 mTimeStats = timeStats; in setTimeStats()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | CompositionEngine.h | 64 std::shared_ptr<TimeStats> mTimeStats; variable
|
/frameworks/native/services/surfaceflinger/FrameTimeline/ |
D | FrameTimeline.cpp | 342 mTimeStats(timeStats), 685 mTimeStats->incrementJankyFrames({refreshRate, mRenderRate, mOwnerUid, mLayerName, in onPresent() 846 mTimeStats(std::move(timeStats)), in FrameTimeline() 850 std::make_shared<DisplayFrame>(mTimeStats, thresholds, &mTraceCookieCounter); in FrameTimeline() 873 PredictionState::None, TimelineItem(), mTimeStats, in createSurfaceFrameForToken() 883 mTimeStats, mJankClassificationThresholds, in createSurfaceFrameForToken() 888 PredictionState::Expired, TimelineItem(), mTimeStats, in createSurfaceFrameForToken() 898 mTimeStats(timeStats), in DisplayFrame() 935 mCurrentDisplayFrame = std::make_shared<DisplayFrame>(mTimeStats, mJankClassificationThresholds, in onCommitNotComposited() 1420 mCurrentDisplayFrame = std::make_shared<DisplayFrame>(mTimeStats, mJankClassificationThresholds, in finalizeCurrentDisplayFrame()
|
D | FrameTimeline.h | 253 std::shared_ptr<TimeStats> mTimeStats; variable 443 std::shared_ptr<TimeStats> mTimeStats; variable 520 std::shared_ptr<TimeStats> mTimeStats; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | CompositionEngineTest.cpp | 50 std::shared_ptr<TimeStats> mTimeStats; member 80 mEngine.setTimeStats(mTimeStats); in TEST_F() 82 EXPECT_EQ(mTimeStats.get(), mEngine.getTimeStats()); in TEST_F()
|
D | OutputTest.cpp | 3556 EXPECT_CALL(mCompositionEngine, getTimeStats()).WillRepeatedly(Return(mTimeStats.get())); in OutputComposeSurfacesTest() 3611 std::shared_ptr<TimeStats> mTimeStats = std::make_shared<android::impl::TimeStats>(); member
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 245 mFlinger->mTimeStats->onDestroy(layerId); in ~Layer() 1701 mFlinger->mTimeStats->onDestroy(layerId); in onDisconnect() 3221 mFlinger->mTimeStats->setPostTime(layerId, mDrawingState.frameNumber, getName().c_str(), in setBuffer() 3504 mFlinger->mTimeStats->incrementLatchSkipped(getSequence(), in fenceHasSignaled() 3570 mFlinger->mTimeStats->setAcquireFence(layerId, frameNumber, acquireFence); in updateTexImage() 3571 mFlinger->mTimeStats->setLatchTime(layerId, frameNumber, latchTime); in updateTexImage() 4069 mFlinger->mTimeStats->setDesiredTime(layerId, mCurrentFrameNumber, desiredPresentTime); in onCompositionPresented() 4104 mFlinger->mTimeStats->setPresentFence(layerId, mCurrentFrameNumber, presentFence, in onCompositionPresented() 4120 mFlinger->mTimeStats->setPresentTime(layerId, mCurrentFrameNumber, actualPresentTime, in onCompositionPresented()
|
D | SurfaceFlinger.cpp | 420 mTimeStats(std::make_shared<impl::TimeStats>()), in SurfaceFlinger() 422 mFrameTimeline(mFactory.createFrameTimeline(mTimeStats, mPid)), in SurfaceFlinger() 893 mCompositionEngine->setTimeStats(mTimeStats); in init() 1850 *success = mTimeStats->onPullAtom(atomId, pulledData); in onPullAtom() 2609 mTimeStats->incrementMissedFrames(); in commit() 2923 mTimeStats->recordFrameDuration(pacesetterTarget.frameBeginTime().ns(), systemTime()); in composite() 2978 mTimeStats->pushCompositionStrategyState(clientCompositionRecord); in composite() 3293 mTimeStats->incrementTotalFrames(); in onCompositionPresented() 3294 mTimeStats->setPresentFenceGlobal(pacesetterPresentFenceTime); in onCompositionPresented() 4520 getFactory(), activeRefreshRate, *mTimeStats); in initScheduler() [all …]
|
D | SurfaceFlinger.h | 1363 const std::shared_ptr<TimeStats> mTimeStats; variable
|