For other platforms there is already
https://github.com/nviennot/core-to-core-latencyThis project works around a limitation in MacOS, namely lack of thread pinning, and makes it possible to do it without Asahi Linux, and without using custom MacOS kernel extensions and disabling security features.