pub fn write_stats_to_file(
    filename: &Path,
    stats: &SharedSimStats,
) -> Result<()>Expand description
May reset fields of stats.
pub fn write_stats_to_file(
    filename: &Path,
    stats: &SharedSimStats,
) -> Result<()>May reset fields of stats.