Skip to content

HWCPipeStatsProvider provides misleading performance data #1427

@BlurryLight

Description

@BlurryLight

During initialization, some data collected from hwcpipe sets HWCPipeStatsProvider::StatData::StatScaling to None, This causes the output data to be the raw data polled each frame, rather than data scaled by delta time.

https://github.com/KhronosGroup/Vulkan-Samples/blame/b2e36947309459295eeb0040e2df6a3bfb590304/framework/stats/hwcpipe_stats_provider.cpp#L60

Image

I observed bandwidth of 10+ MB/s in the Subpasses case, which is clearly erroneous. After comparing with Streamline data, I realized the displayed figures here differ from Streamline's by a factor of FPS.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions