Bug 379222 - Show full size information in tooltip.
Summary: Show full size information in tooltip.
Status: REOPENED
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-25 19:38 UTC by Rolf Eike Beer
Modified: 2017-04-29 20:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2017-04-25 19:38:08 UTC
The allocation sizes are rounded in the normal view, but still rounded in the tooltips. Especially when the allocations are bigger (>1MB) it is hard to compare between multiple runs as there is no easy way I could spot to see the exact amount of allocated memory.
Comment 1 Milian Wolff 2017-04-28 11:35:35 UTC
Git commit 103cc2a96fabf6a694026f20c5421c23cb775e35 by Milian Wolff.
Committed on 28/04/2017 at 11:34.
Pushed by mwolff into branch 'master'.

Include raw byte size in tooltips

When the size is larger than 1KB we lose some precision. In such
cases also show the raw byte size in parenthesis after the shortened
value to allow accurate manual comparisons.

M  +15   -5    src/analyze/gui/chartmodel.cpp

https://commits.kde.org/heaptrack/103cc2a96fabf6a694026f20c5421c23cb775e35
Comment 2 Rolf Eike Beer 2017-04-29 20:50:49 UTC
There are more places where this is needed, i.e. basically all other tabs.