Home
last modified time | relevance | path

Searched refs:occupancyAverage (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/include/gui/
DOccupancyTracker.h45 occupancyAverage(0.0f), in Segment()
48 Segment(nsecs_t totalTime, size_t numFrames, float occupancyAverage, in Segment()
52 occupancyAverage(occupancyAverage), in Segment()
64 float occupancyAverage; member
/frameworks/native/libs/gui/
DOccupancyTracker.cpp38 result = parcel->writeFloat(occupancyAverage); in writeToParcel()
56 result = parcel->readFloat(&occupancyAverage); in readFromParcel()
99 float occupancyAverage = 0.0f; in recordPendingSegment() local
105 occupancyAverage += timeRatio * occupancy; in recordPendingSegment()
109 mPendingSegment.numFrames, occupancyAverage, usedThirdBuffer}); in recordPendingSegment()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp960 ASSERT_LT(0, firstSegment.occupancyAverage); in TEST_F()
961 ASSERT_GT(1, firstSegment.occupancyAverage); in TEST_F()
969 ASSERT_LT(0, secondSegment.occupancyAverage); in TEST_F()
970 ASSERT_GT(1, secondSegment.occupancyAverage); in TEST_F()
988 ASSERT_LT(1, thirdSegment.occupancyAverage); in TEST_F()
989 ASSERT_GT(2, thirdSegment.occupancyAverage); in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2884 if (segment.occupancyAverage < 1.0f) { in recordBufferingStats()
2886 } else if (segment.occupancyAverage < 2.0f) { in recordBufferingStats()
DSurfaceFlinger_hwc1.cpp2800 if (segment.occupancyAverage < 1.0f) { in recordBufferingStats()
2802 } else if (segment.occupancyAverage < 2.0f) { in recordBufferingStats()