mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-30 06:24:21 +01:00
print path in stats for memory IO
This commit is contained in:
@@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user