progs/perftest.c: Report cycle counts per operation where possible.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 10 Nov 2018 14:03:21 +0000 (14:03 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 24 Nov 2018 21:53:38 +0000 (21:53 +0000)
commit8ae2bc5cdb500e8b6a0f4d9a7d4aea73d00d3dd6
treee633a9ec9e156228c116b2e55c09c0fc1ec6b0a8
parent178c254085727e7ee6e026e69a1f18cd0ab674e0
progs/perftest.c: Report cycle counts per operation where possible.

This is a much more useful figure to work with.  Use `rdtsc' on x86,
falling back to `perf_event_open' on Linux where available.  On other
platforms, you don't get cycle counts: sorry.
configure.ac
progs/perftest.c