about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-03 13:32:37 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-03 15:51:18 +0530
commit73e0cd5d0de276a6c41c78920ff79d8e11991240 (patch)
tree4147cac96a7eeb66bd4c36b3093c882faca4f68c
parent64aabd4b80b5a769f2308d5a6dd9393fd2943d0c (diff)
downloadglibc-73e0cd5d0de276a6c41c78920ff79d8e11991240.tar.gz
glibc-73e0cd5d0de276a6c41c78920ff79d8e11991240.tar.xz
glibc-73e0cd5d0de276a6c41c78920ff79d8e11991240.zip
Echo benchmark that is currently running
This will be useful when the benchmark has many functions.
-rw-r--r--ChangeLog2
-rw-r--r--Rules1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6de6999aef..bb6fc28ac8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* Rules (bench): Echo currently running benchmark.
+
 	* benchtests/Makefile (bench): Add atan and slowatan.
 	* benchtests/atan-inputs: New file.
 	* benchtests/slowatan-inputs: New file.
diff --git a/Rules b/Rules
index 02cdb4ac78..9ad1d11127 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