use crate::app::TraceInfo;
use tracing::instrument;
#[instrument(skip_all, level = "trace")]
pub fn report(info: &TraceInfo, report_cycles: usize) -> anyhow::Result<()> {
super::wait_for_round(&info.data, report_cycles)?;
let trace = info.data.snapshot();
for (flow, flow_id) in trace.flows() {
println!("flow {flow_id}: {flow}");
}
Ok(())
}