I use graphics analyzer to get memory footprint when running graphics application. I get the explaination in corresponding document like below:
Memory
This tab shows information on memory usage for each frame. This data can be produced on Mali-T600 or later based devices, but the vendor might choose not to enable this feature. To see if this feature is supported, check if your device contains one of the following files:
• /sys/kernel/debug/mali0/ctx/*/mem_profile
• /sys/kernel/debug/mali/mem/*
If the files are present and non-empty, then your device is supported.
My question is that are there other methods that can help me to get the memory footprint?
Thanks
Application-owned graphics memory is accounted against the process, so it will show up in memory reported via standard Linux tools such as "top".
For Vulkan, recent drivers support the VK_EXT_device_memory_report which can give a more granular breakdown.