libnonius / nonius

A C++ micro-benchmarking framework
https://nonius.io
Creative Commons Zero v1.0 Universal
358 stars 47 forks source link

Collect additional metrics #58

Open rmartinho opened 8 years ago

rmartinho commented 8 years ago

Sometimes things other than time need to be measured. Nonius should support collecting additional metrics like, e.g., cache misses and branch mispredictions. Ideally this would be a generically extensible feature that users can use to collect any custom metrics they desire.