fix system docs

db4
Doug Coleman 2009-11-18 18:34:16 -06:00
parent 097111e7c2
commit 41b931a615
1 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
USING: generic help.markup help.syntax kernel math memory USING: generic help.markup help.syntax kernel math memory
namespaces sequences kernel.private strings classes.singleton namespaces sequences kernel.private strings classes.singleton ;
tools.time ;
IN: system IN: system
ABOUT: "system" ABOUT: "system"
@ -18,7 +17,7 @@ ARTICLE: "system" "System interface"
"Getting the current time:" "Getting the current time:"
{ $subsections { $subsections
system-micros system-micros
system-micros system-millis
} }
"Getting a monotonically increasing nanosecond count:" "Getting a monotonically increasing nanosecond count:"
{ $subsections nano-count } { $subsections nano-count }
@ -93,7 +92,7 @@ HELP: system-millis ( -- ms )
HELP: nano-count ( -- ns ) HELP: nano-count ( -- ns )
{ $values { "ns" integer } } { $values { "ns" integer } }
{ $description "Outputs a monotonically increasing count of nanoseconds elapsed since an arbitrary starting time. The difference of two calls to this word allows timing. This word is unaffected by system clock changes." } { $description "Outputs a monotonically increasing count of nanoseconds elapsed since an arbitrary starting time. The difference of two calls to this word allows timing. This word is unaffected by system clock changes." }
{ $notes "This is a low-level word. The " { $link time } " word may be used to time code execution time. For system time, use " { $link system-micros } "." } ; { $notes "This is a low-level word. The " { $vocab-link "tools.time" } " vocabulary defines words to time code execution time. For system time, use " { $link system-micros } "." } ;
HELP: image HELP: image
{ $values { "path" "a pathname string" } } { $values { "path" "a pathname string" } }