1
0
forked from ROMEO/nexosim

Add instance name to model contexts

This commit is contained in:
Jaŭhien Piatlicki
2024-05-10 10:54:45 +02:00
parent 4b5195f981
commit 195bcdceba
13 changed files with 131 additions and 44 deletions

View File

@ -38,7 +38,7 @@ fn passthrough_bench<T: Clone + Send + 'static>(
model.output.connect_sink(&out_stream);
let addr = mbox.address();
let simu = SimInit::new().add_model(model, mbox).init(t0);
let simu = SimInit::new().add_model(model, mbox, "").init(t0);
(simu, addr, out_stream)
}
@ -246,7 +246,7 @@ fn timestamp_bench(
let addr = mbox.address();
let simu = SimInit::new()
.add_model(model, mbox)
.add_model(model, mbox, "")
.set_clock(clock)
.init(t0);