Echo benchmark that is currently running
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 3 Apr 2013 08:02:37 +0000 (13:32 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 3 Apr 2013 10:21:18 +0000 (15:51 +0530)
This will be useful when the benchmark has many functions.

ChangeLog
Rules

index 6de6999..bb6fc28 100644 (file)
--- 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 02cdb4a..9ad1d11 100644 (file)
--- 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