Add timestamp to SimRequest #140

Merged
muellerr merged 8 commits from add-timestamp-to-sim-request into main 2024-05-08 14:58:14 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 972bf19188 - Show all commits

View File

@ -102,7 +102,8 @@ fn main() {
.chain(std::io::stdout())
.chain(fern::log_file("output.log").expect("could not open log output file"))
// Apply globally
.apply().expect("could not apply logger configuration");
.apply()
.expect("could not apply logger configuration");
log::info!("starting simulation thread");
// This thread schedules the simulator.

View File

@ -27,7 +27,7 @@ impl SimTestbench {
}
}
pub fn handle_sim_requests_time_agnostic(&mut self) {
self.handle_sim_requests(MonotonicTime::EPOCH);
self.handle_sim_requests(MonotonicTime::EPOCH);
}
delegate! {