#[non_exhaustive]pub struct RobotTiming {
pub overruns: u64,
pub skipped_ticks: u64,
pub last_elapsed: Duration,
pub max_elapsed: Duration,
}Expand description
Bounded timing diagnostics; counters saturate instead of keeping a history.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.overruns: u64Updates whose actual elapsed time exceeded the configured interval, including ordinary timer jitter. This does not latch a controller fault.
skipped_ticks: u64Scheduled ticks skipped rather than replayed after a delayed update/I/O.
last_elapsed: DurationActual elapsed time before the last update, before the ramp cap. Includes waiting for the driver lock; zero until the first update.
max_elapsed: DurationLargest observed update spacing, before the ramp cap.
Trait Implementations§
Source§impl Clone for RobotTiming
impl Clone for RobotTiming
Source§impl Debug for RobotTiming
impl Debug for RobotTiming
Source§impl Default for RobotTiming
impl Default for RobotTiming
impl Eq for RobotTiming
Source§impl PartialEq for RobotTiming
impl PartialEq for RobotTiming
impl StructuralPartialEq for RobotTiming
Auto Trait Implementations§
impl Forget for RobotTiming
impl Freeze for RobotTiming
impl Move for RobotTiming
impl RefUnwindSafe for RobotTiming
impl Send for RobotTiming
impl Sync for RobotTiming
impl Unpin for RobotTiming
impl UnsafeUnpin for RobotTiming
impl UnwindSafe for RobotTiming
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more