1
Watch
2
Star
0
Fork
0
Issue
lavoiesl
lavoiesl
pushedAt 3 years ago

lavoiesl/macos-monotonic-clock

macOS monotonic clock

Outputs miliseconds of a monotonic clock; an ever-increasing counter.

License: MIT Build Status

Usage

Compiling

make

Download from GitHub

You can download a precompiled monotonic from the release page.

Running

./monotonic

or

sudo make install # installs to /usr/local/bin
monotonic

Using clib

clib install lavoiesl/macos-monotonic-clock

Output example

$ ./monotonic; sleep 1; ./monotonic
415108322
415109335

License

MIT, see LICENSE.md for details.

Inspiration

ucloud ads