aboutsummaryrefslogtreecommitdiff
path: root/tools/timerun.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-07-03 15:05:10 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-07-03 15:05:10 +0200
commit4a16da26dacdb37b9ef8d3d11e10ecb94b0cf396 (patch)
tree64723639df2a44c94deb26276c5793101d3b6c41 /tools/timerun.h
parent3c9efb490ccbe1b0d7768d77fcdcac012c00e8c6 (diff)
downloadnissy-core-4a16da26dacdb37b9ef8d3d11e10ecb94b0cf396.tar.gz
nissy-core-4a16da26dacdb37b9ef8d3d11e10ecb94b0cf396.zip
renamed benchmarks to tools
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
7double 7double
8time_benchmark(void (*run)(void), char *name) 8timerun(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

Generated with cgit - Back to sebastiano.tronto.net