X-Git-Url: https://git.sesse.net/?p=fjl;a=blobdiff_plain;f=benchmark.h;fp=benchmark.h;h=2b9ee58e2fa560dbe2aad19747fed714a02671d8;hp=0000000000000000000000000000000000000000;hb=053868677195e472ddbc5129c6248419911b4546;hpb=56779091c47e5c61376d7f942cc58b831673e1d7 diff --git a/benchmark.h b/benchmark.h new file mode 100644 index 0000000..2b9ee58 --- /dev/null +++ b/benchmark.h @@ -0,0 +1,11 @@ +#ifndef _BENCHMARK_H +#define _BENChMARK_H 1 + +// Benchmark timing functions for reading out used CPU time. Not thread-safe +// as they store the information in a global variable. +void start_benchmark_timer(); +double stop_benchmark_timer(); + +#endif /* !defined(_BENCHMARK_H) */ + +