Skip to content

raedwulf/henlein

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

henlein: two file cross-platform C timer

Build Status

Example

/* 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);

License

henlein is licensed under the MIT license. The contributing authors which collectively hold copyright are listed in AUTHORS.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published