likwid
likwid copied to clipboard
MacOS Port of Likwid
Integrate PCM MSR driver into Likwid and make it OS portable.
https://github.com/opcm/pcm
For macOS you can probably use the MacMSRDriver of the pcm project to get performance counter readings. I didn't find an equivalent for the process/thread pinning functionality of Linux, the only thing I found is the Thread Affinity API. There might be other features without macOS counterpart.