Re: [PATCH net-next v3 2/8] rust: time: Introduce Delta type
From: Andrew Lunn
Date: Fri Oct 18 2024 - 09:50:32 EST
> + /// Return the number of microseconds in the `Delta`.
> + #[inline]
> + pub fn as_micros(self) -> i64 {
> + self.nanos / NSEC_PER_USEC
> + }
Wasn't there a comment that the code should always round up? Delaying
for 0 uS is probably not what the user wants.
Andrew