]> git.ipfire.org Git - thirdparty/glibc.git/commit
Improve math benchmark infrastructure
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 20 Jun 2017 15:26:26 +0000 (16:26 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Tue, 20 Jun 2017 15:26:26 +0000 (16:26 +0100)
commitbeb52f502f0477465313675d2a0fbf3962e130b8
tree6d8953c8fab0f45f01c04ab89171a2211b599686
parentc0b23001a89b79f8d0bebe41bfbe64d840b13191
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.
ChangeLog
benchtests/README
benchtests/bench-skeleton.c