Skip to content

Commit

Permalink
feat: print warning on deadline miss
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenautumns authored and dadada committed Nov 4, 2024
1 parent a65148b commit ea40a4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hypervisor/src/hypervisor/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ impl<'a> PartitionTimeframeScheduler<'a> {
if self.timeout.has_time_left() {
let res = self.run_post_periodic();
self.handle_partition_result(res)?;
} else if let OperatingMode::Normal = self.partition.get_base_run().1.mode() {
warn!(
"Deadline miss of periodic process in partition: {}",
self.partition.name()
);
}
Ok(())
}
Expand Down

0 comments on commit ea40a4c

Please sign in to comment.