Bug 426973

Summary: Feat: recalculate graph based on time range
Product: [Applications] Heaptrack Reporter: Andrew Somerville <andy.somerville>
Component: generalAssignee: Milian Wolff <mail>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrew Somerville 2020-09-25 21:01:22 UTC
SUMMARY

It would be very helpful to be able to recalculate the graphs based on a timeline selection, especially the flamegraph and bottom-up/top-down trees.

While the elapse time allocation graphs provide some of this information, they're missing the stack detail, and fine grained detail of the flame graph.

For comparison the CPU profile viewer, Hotspot, has such an ability for viewing time, CPU, and thread data subsets, which makes it possible to analyze situations that are otherwise infeasible.
Comment 1 Andrew Somerville 2020-09-27 05:04:47 UTC
Looks like you're already working on this, what timing! : )

I see something in 019a87c that seems like it might be on the way.

Let me know if I can do anything to help.
Comment 2 Milian Wolff 2020-09-28 10:32:38 UTC
Hey Andrew,

perfect timing indeed. I have had this in my mind for years, but never got around to sit down and actually implement it.

you can now select a time range in the charts (click-and-drag), and then use the context menu to filter in on that selected range.

Please try it out and give me feedback :) Either here or via email.

I'll close this report, if you encounter any bugs, please open new individual issues for them.

Thanks!