Interface for running simple benchmarks. More...
Interface for running simple benchmarks.
Definition in file benchmark.h.
Go to the source code of this file.
Macros | |
#define | BENCHMARK_FUNC(name, runs, func) |
Measure the runtime of a given function call. | |
Functions | |
void | benchmark_print_time (uint32_t time, unsigned long runs, const char *name) |
Output the given time as well as the time per run on STDIO. | |