add docs to monotonic-clock
parent
c3ec0c08f9
commit
771e74fdc4
|
@ -0,0 +1,18 @@
|
|||
! Copyright (C) 2009 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: help.markup help.syntax kernel math ;
|
||||
IN: monotonic-clock
|
||||
|
||||
HELP: monotonic-count
|
||||
{ $values
|
||||
|
||||
{ "n" integer }
|
||||
}
|
||||
{ $description "Returns a monotonically increasing number of nanoseconds since an arbitrary time. This number can be compared against future calls to " { $link monotonic-count } "." } ;
|
||||
|
||||
ARTICLE: "monotonic-clock" "Monotonic clock"
|
||||
"The " { $vocab-link "monotonic-clock" } " vocabulary implements a single word which can be used as a clock. A special property of this clock is that it is independent of the system time and time zones." $nl
|
||||
"Get the number of nanoseconds since an arbitrary beginning:"
|
||||
{ $subsections monotonic-count } ;
|
||||
|
||||
ABOUT: "monotonic-clock"
|
Loading…
Reference in New Issue