Skip to content

How to interpret gaps? #265

Answered by pablogsal
cozos asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for checking with us. This aspect is explained in the docs:

The width of each function box represents how much memory was allocated by that function or its children. Functions with wider boxes allocated more bytes of memory than those with narrower boxes, in proportion to their width.

This is also explained in one of the examples here:

The top edge shows that function g() allocates the most memory, d() is wider, but its exposed top edge is smaller, which means that d() itself allocated less memory than the one allocated by the functions called by it. Functions including b() and c() do not allocate memory themselves directly; rather, the functions they called did the allocating.

t…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pablogsal
Comment options

You must be logged in to vote
0 replies
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