https://github.com/mnito/elapsed
Compact elapsed time formatting and encoding library
https://github.com/mnito/elapsed
clock elapsed encoding example formatting monotonic stopwatch time
Last synced: 8 months ago
JSON representation
Compact elapsed time formatting and encoding library
- Host: GitHub
- URL: https://github.com/mnito/elapsed
- Owner: mnito
- License: mit
- Created: 2018-07-22T16:57:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T12:55:55.000Z (about 6 years ago)
- Last Synced: 2025-03-25T06:33:29.814Z (10 months ago)
- Topics: clock, elapsed, encoding, example, formatting, monotonic, stopwatch, time
- Language: C
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Compact Elapsed Time Formatting and Encoding Library
### To compile library:
```shell
cc -Wall -pedantic -O3 -c elapsed.c -o elapsed.o
```
### To compile stopwatch example:
```shell
cc -Wall -pedantic -O3 -I. ./examples/stopwatch.c elapsed.o -o stopwatch
```
### To run stopwatch example:
```shell
./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