Vulkan-Samples icon indicating copy to clipboard operation
Vulkan-Samples copied to clipboard

HWCPipeStatsProvider provides misleading performance data

Open BlurryLight opened this issue 2 months ago • 0 comments

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.

BlurryLight avatar Oct 28 '25 09:10 BlurryLight