diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-08-17 16:27:20 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-08-17 16:27:20 +0100 |
commit | d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb (patch) | |
tree | 5ae35fc88eda5f2ad45b63f4617f4a87d470d885 /libio | |
parent | 34d6a3cbf2be45aa039a7eb9f0084a4b710437b8 (diff) | |
download | glibc-d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb.tar.gz glibc-d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb.tar.xz glibc-d4505b895f2aa577a6b974ab4bd0a1fd0db60ceb.zip |
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