1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
const NS_PER_S: u64 = 1_000_000_000;
/// The time from a clock that cannot be set
/// and represents monotonic time since some unspecified starting point,
/// that also includes any time that the system is suspended.
///
/// See [`clock_gettime`].
///
/// [`clock_gettime`]: https://manpages.debian.org/buster/manpages-dev/clock_gettime.3.en.html
/// The time from a clock that cannot be set
/// and represents monotonic time since some unspecified starting point,
/// but that does not increment while the system is asleep.
///
/// See [`clock_gettime`].
///
/// [`clock_gettime`]: https://manpages.debian.org/buster/manpages-dev/clock_gettime.3.en.html