/* initialise the library */
int rc = henlein_init();
assert(!rc); /* rc should return 0 if successful */
/* now time something */
uint64_t start = henlein_now();
/* do stuff */
uint64_t stop = henlein_now();
uint64_t diff = henlein_diff(stop, start);
printf("%llu nanoseconds elapsed\n", diff);
henlein is licensed under the MIT license. The contributing authors which collectively hold copyright are listed in AUTHORS.