print path in stats for memory IO

This commit is contained in:
pedrocarlo
2025-08-20 14:42:25 -03:00
parent ff51965c3e
commit cc3488bba0

View File

@@ -186,8 +186,12 @@ impl SimIO for MemorySimIO {
fn print_stats(&self) {
tracing::info!("run_once faults: {}", self.nr_run_once_faults.get());
for file in self.files.borrow().values() {
tracing::info!("\n===========================\n{}", file.stats_table());
for (path, file) in self.files.borrow().iter() {
tracing::info!(
"\n===========================\n\nPath: {}\n{}",
path,
file.stats_table()
);
}
}