Home
last modified time | relevance | path

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

/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/tests/unittests/
DTimeStatsTest.cpp136 std::unique_ptr<TimeStats> mTimeStats = std::make_unique<impl::TimeStats>(); member in android::__anon0d647eea0111::TimeStatsTest
170 EXPECT_NO_FATAL_FAILURE(mTimeStats->parseArgs(useProto, args, result)); in inputCommand()
181 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPostTime(id, frameNumber, genLayerName(id), ts)); in setTimeStamp()
184 ASSERT_NO_FATAL_FAILURE(mTimeStats->setAcquireTime(id, frameNumber, ts)); in setTimeStamp()
188 mTimeStats->setAcquireFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp()
191 ASSERT_NO_FATAL_FAILURE(mTimeStats->setLatchTime(id, frameNumber, ts)); in setTimeStamp()
194 ASSERT_NO_FATAL_FAILURE(mTimeStats->setDesiredTime(id, frameNumber, ts)); in setTimeStamp()
197 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPresentTime(id, frameNumber, ts)); in setTimeStamp()
201 mTimeStats->setPresentFence(id, frameNumber, std::make_shared<FenceTime>(ts))); in setTimeStamp()
215 ASSERT_TRUE(mTimeStats->isEnabled()); in TEST_F()
[all …]
DRefreshRateStatsTest.cpp48 std::make_unique<RefreshRateStats>(*mRefreshRateConfigs, mTimeStats, in init()
53 mock::TimeStats mTimeStats; member in android::scheduler::RefreshRateStatsTest
77 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F()
78 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F()
123 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F()
124 EXPECT_CALL(mTimeStats, recordRefreshRate(60, _)).Times(AtLeast(1)); in TEST_F()
125 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F()
DTestableSurfaceFlinger.h346 auto& mutableTimeStats() { return mFlinger->mTimeStats; } in mutableTimeStats()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp86 mTimeStats.totalFrames++; in incrementTotalFrames()
95 mTimeStats.missedFrames++; in incrementMissedFrames()
104 mTimeStats.clientCompositionFrames++; in incrementClientCompositionFrames()
178 if (!mTimeStats.stats.count(layerName)) { in flushAvailableRecordsToStatsLocked()
179 mTimeStats.stats[layerName].layerName = layerName; in flushAvailableRecordsToStatsLocked()
180 mTimeStats.stats[layerName].packageName = getPackageName(layerName); in flushAvailableRecordsToStatsLocked()
182 TimeStatsHelper::TimeStatsLayer& timeStatsLayer = mTimeStats.stats[layerName]; in flushAvailableRecordsToStatsLocked()
458 mTimeStats.displayOnTime += elapsedTime; in flushPowerTimeLocked()
486 if (mTimeStats.refreshRateStats.count(fps)) { in recordRefreshRate()
487 mTimeStats.refreshRateStats[fps] += duration; in recordRefreshRate()
[all …]
DTimeStats.h157 TimeStatsHelper::TimeStatsGlobal mTimeStats; variable
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h47 mTimeStats(timeStats), in RefreshRateStats()
122 mTimeStats.recordRefreshRate(fps, timeElapsed); in flushTime()
140 TimeStats& mTimeStats; variable
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp317 mFlinger->mTimeStats->removeTimeRecord(layerID, mQueueItems[0].mFrameNumber); in updateTexImage()
331 mFlinger->mTimeStats->onDestroy(layerID); in updateTexImage()
353 mFlinger->mTimeStats->removeTimeRecord(layerID, mQueueItems[0].mFrameNumber); in updateTexImage()
358 mFlinger->mTimeStats->setAcquireFence(layerID, currentFrameNumber, in updateTexImage()
360 mFlinger->mTimeStats->setLatchTime(layerID, currentFrameNumber, latchTime); in updateTexImage()
DBufferStateLayer.cpp229 mFlinger->mTimeStats->setPostTime(getSequence(), getFrameNumber(), getName().c_str(), postTime); in setBuffer()
534 mFlinger->mTimeStats->removeTimeRecord(layerID, getFrameNumber()); in updateTexImage()
551 mFlinger->mTimeStats->onDestroy(layerID); in updateTexImage()
556 mFlinger->mTimeStats->setAcquireFence(layerID, getFrameNumber(), getCurrentFenceTime()); in updateTexImage()
557 mFlinger->mTimeStats->setLatchTime(layerID, getFrameNumber(), latchTime); in updateTexImage()
DBufferLayer.cpp73 mFlinger->mTimeStats->onDestroy(getSequence()); in ~BufferLayer()
378 mFlinger->mTimeStats->setDesiredTime(layerID, mCurrentFrameNumber, desiredPresentTime); in onPostComposition()
390 mFlinger->mTimeStats->setPresentFence(layerID, mCurrentFrameNumber, presentFence); in onPostComposition()
396 mFlinger->mTimeStats->setPresentTime(layerID, mCurrentFrameNumber, actualPresentTime); in onPostComposition()
DSurfaceFlinger.cpp282 mTimeStats(mFactory.createTimeStats()), in SurfaceFlinger()
1675 mTimeStats->incrementMissedFrames(); in onMessageReceived()
2133 mTimeStats->incrementTotalFrames(); in postComposition()
2135 mTimeStats->incrementClientCompositionFrames(); in postComposition()
2138 mTimeStats->setPresentFenceGlobal(presentFenceTime); in postComposition()
3029 std::make_unique<scheduler::RefreshRateStats>(*mRefreshRateConfigs, *mTimeStats, in initScheduler()
4584 mTimeStats->setPowerMode(mode); in setPowerModeInternal()
4718 mTimeStats->parseArgs(asProto, args, result); in dumpTimeStats()
5128 result.append(mTimeStats->miniDump()); in dumpAllLocked()
DLayer.cpp1411 mFlinger->mTimeStats->onDestroy(getSequence()); in onDisconnect()
1417 mFlinger->mTimeStats->setPostTime(getSequence(), newTimestamps->frameNumber, in addAndGetFrameTimestamps()
DSurfaceFlinger.h1031 const std::shared_ptr<TimeStats> mTimeStats; variable