diff options
Diffstat (limited to '')
| -rw-r--r-- | tools/timerun.h (renamed from benchmark/benchmark.h) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/benchmark.h b/tools/timerun.h index e9361a8..dabfde0 100644 --- a/benchmark/benchmark.h +++ b/tools/timerun.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #include <time.h> | 5 | #include <time.h> |
| 6 | 6 | ||
| 7 | double | 7 | double |
| 8 | time_benchmark(void (*run)(void), char *name) | 8 | timerun(void (*run)(void), char *name) |
| 9 | { | 9 | { |
| 10 | struct timespec start, end; | 10 | struct timespec start, end; |
| 11 | double tdiff, tdsec, tdnano; | 11 | double tdiff, tdsec, tdnano; |
| @@ -19,7 +19,7 @@ time_benchmark(void (*run)(void), char *name) | |||
| 19 | return -1.0; | 19 | return -1.0; |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | printf("Benchmark: %s\n\n", name); | 22 | printf("Running tool: %s\n", name); |
| 23 | printf("==========\n"); | 23 | printf("==========\n"); |
| 24 | fflush(stdout); | 24 | fflush(stdout); |
| 25 | 25 | ||
