Skip to content

death/monotonic-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monotonic clock

Provides a clock that returns nondecreasing values and is not affected by (user-adjustable) system time.

[Function] monotonic-now &optional mode

Return the current monotonic time in monotonic time units.

If mode is nil (the default) the monotonic time is possibly affected by NTP. If it is :raw, effort is made to return a monotonic time that is not affected by NTP.

[Function] monotonic-time-units-per-second

Return the number of monotonic time units in one second.

The value returned should remain valid for the duration of the running Lisp process, but no guarantee is made beyond this extent.

[Function] monotonic-now/ms &optional mode

A convenience function to return the current monotonic time in milliseconds.

About

Monotonic clock bindings for Common Lisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published