Add a comment on the meaning of Instant t: Duration

This commit is contained in:
Alex Berghage 2019-01-23 21:36:38 -07:00
parent 41be93c2f6
commit 14ce5364de

View File

@ -11,6 +11,8 @@ const INTERVALS_PER_SEC: u64 = NANOS_PER_SEC / 100;
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Hash)]
pub struct Instant {
// This duration is relative to an arbitrary microsecond epoch
// from the winapi QueryPerformanceCounter function.
t: Duration,
}