aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-08-17 16:27:20 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2017-08-17 16:27:20 +0100
commitd4505b895f2aa577a6b974ab4bd0a1fd0db60ceb (patch)
tree5ae35fc88eda5f2ad45b63f4617f4a87d470d885 /libio
parent34d6a3cbf2be45aa039a7eb9f0084a4b710437b8 (diff)
downloadglibc-d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb.zip
glibc-d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb.tar.gz
glibc-d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb.tar.bz2
Add math benchmark latency test
This patch further improves math function benchmarking by adding a latency test in addition to throughput. This enables more accurate comparisons of the math functions. The latency test works by creating a dependency on the previous iteration: func_res = F (func_res * zero + input[i]). The multiply by zero avoids changing the input. It reports reciprocal throughput and latency in nanoseconds (depending on the timing header used) and max/min throughput in iterations per second: "workload-spec2006.wrf": { "reciprocal-throughput": 100, "latency": 200, "max-throughput": 1.0e+07, "min-throughput": 5.0e+06 } * benchtests/bench-skeleton.c (main): Add support for latency benchmarking. * benchtests/scripts/bench.py: Add support for latency benchmarking.
Diffstat (limited to 'libio')
0 files changed, 0 insertions, 0 deletions