nano-count ( -- ns )
Factor handbook > The implementation > System interface

Prev:image-path ( -- path )
Next:exit ( n -- * )


Vocabulary
system

Inputs and outputs
nsan integer


Word 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 tools.time vocabulary defines words to time code execution time.

Definition