gapid icon indicating copy to clipboard operation
gapid copied to clipboard

ask for command line samples to do profiling using `gapit profile` command

Open randomgraphics opened this issue 5 years ago • 2 comments

I was trying to analysis my game's performance using gapit profile command. GAPID seems like a very promising choice, since it seems has very powerful profiling support built into it.

Unfortunately, I found that the current document for gapit profile command is obscure at best, imo, for anyone that is new to GAPID at least.

After reading all docs I can find online about gapt, I still can't figure out how to make the profiling working form e.

Here's the command tried:

gapit profile -out a.txt a.gfxtrae

What I got is an empty csv file with only headers in it. The head contains column BeginCmd, EndCmd. I then searched the code base using string "BeginCmd" hoping it can bring me to the code where profiling is done. But still with no luck.

Can I ask for a command line sample of how to properly use this profile command to generate meaningful performance data? Like frame time, draw call time and etc.

Or at least can I ask for an document or maybe the source code where I can find more detailed explaination of how to use the profile command or list or arguments that I can try?

thanks a lot.

randomgraphics avatar Apr 22 '20 02:04 randomgraphics

The profile command only works with Vulkan traces, not GLES traces. If this is a vulkan trace, then this is likely a bug.

AWoloszyn avatar Apr 22 '20 13:04 AWoloszyn

It is GLES capture. Is there plan to support it on GLES?

randomgraphics avatar Apr 22 '20 17:04 randomgraphics