Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ask for command line samples to do profiling using gapit profile command #3810

Open
randomgraphics opened this issue Apr 22, 2020 · 2 comments

Comments

@randomgraphics
Copy link

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.

@AWoloszyn
Copy link
Contributor

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

@randomgraphics
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants