app: multi_core_inverter: tune the state serializations

less frequent (for less disk space), and also save state
in a recoverable manner
This commit is contained in:
2022-08-11 18:22:55 -07:00
parent 1928ad71cd
commit 831cbfa76c

View File

@@ -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);