cyclone/docs/api/scheme/time.md
2016-09-28 21:33:37 -04:00

25 lines
594 B
Markdown

# Time Library
The `(scheme time)` library provides access to time-related values.
- [`current-jiffy`](#current-jiffy)
- [`current-second`](#current-second)
- [`jiffies-per-second`](#jiffies-per-second)
#current-jiffy
(current-jiffy)
Get the number of jiffies since the program started. This function can return the same value if the program runs longer than approximately 72 minutes on a 32-bit platform.
#current-second
(current-second)
Get the current number of seconds since the UNIX epoch.
#jiffies-per-second
(jiffies-per-second)
The number of jiffies per second.