This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Show progress of benchmark
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 3 Apr 2013 13:37:49 +0530
- Subject: [PATCH] Show progress of benchmark
Hi,
Here's a simple patch that adds an echo to show which benchmark
program is running. This will be useful when the benchmark has a lot
of functions. OK to commit?
Siddhesh
* Rules (bench): Echo currently running benchmark.
diff --git a/Rules b/Rules
index a3d97f0..6973261 100644
--- a/Rules
+++ b/Rules
@@ -201,6 +201,7 @@ bench: $(binaries-bench)
mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \
fi
for run in $^; do \
+ echo "Running $${run}"; \
eval $(run-bench) >> $(objpfx)bench.out; \
done