Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Perf counters are super useful. On linux the perf tool (and perf event api) make these usable: https://perf.wiki.kernel.org/index.php/Main_Page

The counters vary per Intel CPU, though the most useful ones are universal (e.g. cycle counts). AMD has similar counters.



ocperf is wrapper around perf provided by someone at intel. At the first run, it downloads a list of counter specific the CPU detected, pretty cool; https://github.com/andikleen/pmu-tools


Excellent timing. I'd just updated my performance tool (ppt). https://github.com/lally/libmet

Includes really easy to use performance counter support.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: