Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshdk/ticktock
A handy wrapper around the high-precision time stamp counter.
https://github.com/joshdk/ticktock
Last synced: about 4 hours ago
JSON representation
A handy wrapper around the high-precision time stamp counter.
- Host: GitHub
- URL: https://github.com/joshdk/ticktock
- Owner: joshdk
- License: other
- Created: 2013-03-27T20:32:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-28T20:54:41.000Z (over 11 years ago)
- Last Synced: 2023-03-11T03:48:23.452Z (over 1 year ago)
- Language: C
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ticktock
========A handy wrapper around the high-precision [time stamp counter](https://en.wikipedia.org/wiki/Time_Stamp_Counter).
Usage
-----```c
// include the header
#include "ticktock.h"
``````c
// start a timer
tick();
// some code to be timed...
unsigned long long int delta = tock();
```Notes
-----* Compile using gcc with the `-std=c99` flag.