Bug 29259 - Hard to reconcile numbers in Call Tree view
Summary: Hard to reconcile numbers in Call Tree view
Alias: None
Product: Profiler
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Rodrigo Moya
Depends on:
Reported: 2015-04-20 19:08 UTC by david
Modified: 2015-05-11 08:02 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Call Tree view (328.97 KB, image/png)
2015-04-20 19:08 UTC, david
Call Tree view, expanded one level (484.94 KB, image/png)
2015-04-20 19:12 UTC, david
Screenshot of v0.14 numbers anomaly (544.01 KB, image/png)
2015-05-07 02:33 UTC, david

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description david 2015-04-20 19:08:55 UTC
Created attachment 10831 [details]
Call Tree view

The numbers shown in the left-hand column of the Call Tree and Allocations List views don't add up.

Please see attachments for examples.
Comment 1 david 2015-04-20 19:12:07 UTC
Created attachment 10832 [details]
Call Tree view, expanded one level
Comment 2 Rodrigo Moya 2015-04-22 06:27:27 UTC
Fixed, will be available in the next public release, coming in a couple of weeks or so
Comment 4 Rodrigo Moya 2015-05-04 06:12:43 UTC
This is about the call tree sizes not matching the ones in Allocations List. It was due to the sizes being rounded, which resulted in a different total.
Comment 5 david 2015-05-07 02:33:48 UTC
Created attachment 11111 [details]
Screenshot of v0.14 numbers anomaly

Screenshot of Monkeys example being profiled by v0.14.
Comment 6 david 2015-05-07 02:34:16 UTC
Are the numbers in the Call Tree screen supposed to add up? Please see the enclosed screen shot to get an idea of my confusion when viewing this screen: the expanded rows show Runtime:RegisterDelegates apparently taking up 1.77KB of memory, which is apparently made up of 1.48KB + 304 bytes.
Comment 7 Rodrigo Moya 2015-05-11 07:58:00 UTC
Hi David

Yes, they are supposed to add up, but we do some rounding, so it's not exact, like 1.48KB + 304 bytes is, more or less, 1.77KB. I'll add some better rounding
Comment 8 Rodrigo Moya 2015-05-11 08:02:16 UTC
Hopefully fixed now, reopen if it's still confusing when you get the next release (in 1 or 2 weeks at most)