From 831cbfa76c95c446c2c5e75d5aade4dc0d71d23f Mon Sep 17 00:00:00 2001 From: colin Date: Thu, 11 Aug 2022 18:22:55 -0700 Subject: [PATCH] app: multi_core_inverter: tune the state serializations less frequent (for less disk space), and also save state in a recoverable manner --- crates/applications/multi_core_inverter/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/applications/multi_core_inverter/src/main.rs b/crates/applications/multi_core_inverter/src/main.rs index 8987a9e..110909c 100644 --- a/crates/applications/multi_core_inverter/src/main.rs +++ b/crates/applications/multi_core_inverter/src/main.rs @@ -251,8 +251,8 @@ fn main() { let prefix = "out/applications/multi_core_inverter/10/"; let _ = std::fs::create_dir_all(&prefix); - // driver.add_state_file(&*format!("{}state.bc", prefix), 9600); - driver.add_serializer_renderer(&*format!("{}frame-", prefix), 400, None); + driver.add_state_file(&*format!("{}state.bc", prefix), 6400); + driver.add_serializer_renderer(&*format!("{}frame-", prefix), 3200, None); driver.add_csv_renderer(&*format!("{}meas-detailed.csv", prefix), 100, None); driver.add_csv_renderer(&*format!("{}meas.csv", prefix), 800, None); driver.set_steps_per_stim(100);