/elapsed

Compact elapsed time formatting and encoding library

Primary LanguageCMIT LicenseMIT

Compact Elapsed Time Formatting and Encoding Library

To compile library:

cc -Wall -pedantic -O3 -c elapsed.c -o elapsed.o

To compile stopwatch example:

cc -Wall -pedantic -O3 -I. ./examples/stopwatch.c elapsed.o -o stopwatch

To run stopwatch example:

./stopwatch

Press enter to record splits!

License

Dual licensed under the MIT License and Unlicense. See LICENSE and UNLICENSE files for full text of these licenses.

Original Author

Michael P. Nitowski mike@nitow.ski