pub fn export_task_graph_snapshot<P: AsRef<Path>>(
base_path: P,
events: &[MemoryEvent],
graph: Option<&TaskGraph>,
) -> MemScopeResult<()>Expand description
Export a fixed event cut and optional task metadata captured with that report. All byte counters come from events; registry counters are never used as a fallback.