Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PeizhongQiu committed Dec 12, 2024
1 parent 858891e commit 3133426
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ impl TimerEvent for VmmTimerEvent {
}
}

/// A timer management structure for the virtual machine (VMM).
///
/// This structure provides functionality to:
/// - Register new timers with callbacks
/// - Cancel existing timers
/// - Check and handle expired timers
pub struct AxVmTimer {
timer_list: TimerList<VmmTimerEvent>,
}
Expand Down

0 comments on commit 3133426

Please sign in to comment.