Document SystemTime
platform precision
This commit is contained in:
parent
a00e130dae
commit
0189a21c19
1 changed files with 6 additions and 1 deletions
|
@ -176,7 +176,12 @@ pub struct Instant(time::Instant);
|
|||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// # Underlying System calls
|
||||
/// # Platform-specific behavior
|
||||
///
|
||||
/// The precision of `SystemTime` can depend on the underlying OS-specific time format.
|
||||
/// For example, on Windows the time is represented in 100 nanosecond intervals whereas Linux
|
||||
/// can represent nanosecond intervals.
|
||||
///
|
||||
/// Currently, the following system calls are being used to get the current time using `now()`:
|
||||
///
|
||||
/// | Platform | System call |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue