diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-06-08 11:18:32 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-06-19 11:34:54 -0300 |
commit | 7871ca1075fffd2102147c1e75325b692d9a1d28 (patch) | |
tree | 94398994b380c3abc4c71181b46a7cd6d6307a01 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | ff5a353112d4d091a70b56304bddaa624e30e0ae (diff) |
Add sinf/cosf/sincosf benchmark
Similar to expf/exp2f, this patch add two benchmarks for sinf, cosf, and
sincosf: one which measures thoughput as default and one which measures
latency.
The input in 512 random value divided in 8 ranges:
1. 0.0 <= x < 0.1
2. 0.1 <= x < 0.7
3. 0.7 <= x < 3.1
4. -3.1 <= x < 3.1
5. 3.3 <= x < 33.3
6. 100.0 <= x < 1000.0
7. 1e6 <= x < 1e32
8. 1e32 < x < FLT_MAX
Test: ran 32-bit and 64-bit x86 tests on host
Change-Id: I92bc2f1fac911c573c5122911d08ca590311578a
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions