From beb52f502f0477465313675d2a0fbf3962e130b8 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Tue, 20 Jun 2017 16:26:26 +0100 Subject: 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-", followed by the trace. * benchtests/README: Describe workload feature. * benchtests/bench-skeleton.c (main): Add support for benchmarking traces from workloads. --- benchtests/README | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'benchtests/README') 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- + Benchmark Sets: ============== -- cgit 1.4.1