Happy to announce that the latest version of Benchmark
now supports CPU instructions retired statistics.
This is done using perf_events
on Linux and using rusage
on macOS.
For benchmarks running in a VM, this metric might not return any data due to lack of access to CPU performance counters.
See details here: