Widget drawing a flame-graph. Separate from [`FlameGraphTab`] to allow reusing it later (e.g. for differential flamegraph / sandwich views).
| 141 | /// Separate from [`FlameGraphTab`] to allow reusing it later (e.g. for |
| 142 | /// differential flamegraph / sandwich views). |
| 143 | struct FlameGraphWidget { |
| 144 | origin: Pos2, |
| 145 | x_zoom: f32, |
| 146 | filter: String, |
| 147 | sandwich_view: Option<SandwichView>, |
| 148 | |
| 149 | matching_frames: Vec<MatchingFrame>, |
| 150 | current_match_index: usize, |
| 151 | match_count: usize, |
| 152 | cached_filter: String, |
| 153 | rebuild_matches: bool, |
| 154 | } |
| 155 | |
| 156 | /// Sandwich view showing callers above and callees below a selected frame |
| 157 | struct SandwichView { |
nothing calls this directly
no outgoing calls
no test coverage detected