How can you pin a thread to a single core on Apple M laptops?
Running a Google Benchmark on Apple M2 laptop.
The xtrace profile shows that even though my benchmark application is single threaded, the Main-Thread of the application gets scheduled around 4 cores, CPU 4,5,6,7.
How can i pin it to a single core? DOes anyone know?
In Linux i could use Taskset, but there seems be nothing like that on macos