Expand description
ckb_systemtime provide real system timestamp, and faketime when enable_faketime
feature is enabled.
Structs§
- A
Duration
type to represent a span of time, typically used for system timeouts. - A measurement of a monotonically nondecreasing clock. Opaque and useful only with
Duration
. - A measurement of the system clock, useful for talking to external entities like the file system or other processes.
Functions§
- Get system’s unix_time
- Get system’s timestamp in millis