about summary refs log tree commit diff
path: root/benchtests/README
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-06-20 16:26:26 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2017-06-20 16:26:26 +0100
commitbeb52f502f0477465313675d2a0fbf3962e130b8 (patch)
tree6d8953c8fab0f45f01c04ab89171a2211b599686 /benchtests/README
parentc0b23001a89b79f8d0bebe41bfbe64d840b13191 (diff)
downloadglibc-beb52f502f0477465313675d2a0fbf3962e130b8.tar.gz
glibc-beb52f502f0477465313675d2a0fbf3962e130b8.tar.xz
glibc-beb52f502f0477465313675d2a0fbf3962e130b8.zip
Improve math benchmark infrastructure
Improve support for math function benchmarking.  This patch adds
a feature that allows accurate benchmarking of traces extracted
from real workloads.  This is done by iterating over all samples
rather than repeating each sample many times (which completely
ignores branch prediction and cache effects).  A trace can be
added to existing math function inputs via
"## name: workload-<name>", followed by the trace.

        * benchtests/README: Describe workload feature.
        * benchtests/bench-skeleton.c (main): Add support for
        benchmarking traces from workloads.
Diffstat (limited to 'benchtests/README')
-rw-r--r--benchtests/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchtests/README b/benchtests/README
index 2c5f381135..b015acfd53 100644
--- a/benchtests/README
+++ b/benchtests/README
@@ -102,6 +102,12 @@ the same file by using the `name' directive that looks something like this:
 See the pow-inputs file for an example of what such a partitioned input file
 would look like.
 
+It is also possible to measure throughput of a (partial) trace extracted from
+a real workload.  In this case the whole trace is iterated over multiple times
+rather than repeating every input multiple times.  This can be done via:
+
+  ##name: workload-<name>
+
 Benchmark Sets:
 ==============