21 lines
639 B
Plaintext
21 lines
639 B
Plaintext
#! @file clock.sakura
|
|
#! @author John Christman (sorakatadzuma@gmail.com)
|
|
#! @copyright Malunal Studios, LLC.
|
|
#! @license MIT
|
|
#!
|
|
#! Contains the kinds of clock a system keeps, which `system` reads on each
|
|
#! system and `std::time` gives as moments.
|
|
|
|
module system;
|
|
|
|
|
|
#! A clock a system keeps, which `system::clock` reads.
|
|
pub enum clock_kind: u8 {
|
|
#! The time of day, since 1970 began in UTC. The system sets it, so it may go
|
|
#! forward or back, as when it is corrected over a network.
|
|
wall,
|
|
#! A clock that only ever goes forward, from a start that means nothing, which
|
|
#! is what measures how long something took.
|
|
steady,
|
|
}
|