Skip to content

Cannot get the main process in vizviewer #407

Answered by gaogaotiantian
MarcoMagl asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, if you want to understand your program, you probably should not use log_sparse. That's for cases where you are only interested in the time spent on a specific function. log_sparse by default does not log children functions. So if you put that to main(), it'll only log main(), not any other function calls. That's what sparse means.

As for the UI, it's perfetto so you can check their docs out. I believe all the colors correspond to some CPU usage. The black bar is probably the number function calls starting at that time period. The green one on the process is normally the frequency of function calls as well. Because you only have too few calls, they might not quite make sense.…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MarcoMagl
Comment options

Answer selected by MarcoMagl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants