chiark / gitweb /
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)
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.


No differences found