I am in the middle of writing a new renderer on top of Monogame.
So far I have world, asset management, and rendering all threaded up so I need to be able to check everything is working fine.
To do this I always add a profile build to the renderer and add code that monitors execution time and core usage.
The trouble is I cannot find out what cpu core any thread is running on.
I can find the thread affinity mask, but it's just a mask. For example base.Update() has an affinity mask of 0xFF meaning it CAN run on any available core.
I just can't find any way of finding out which core it is actually running on.
I even managed to break Google. I kept adding terms to the search string until it barfed
Any body got any clues?