lavoiesl / macos-monotonic-clock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:C 74.9%Language:Makefile 25.1%