Detecting executing processor.

Hello,

I'm using OpenMP to have parts of my program run in parallel, but considering I'm still learning, I'd like to create some diagnostics first. Basically, I'll be gathering data throughout the runtime and I want to split it per processor. To do this, I of course need a way to detect which processor executed which parts. Is there any way to do this?

I'm using Windows and MS Visual Studio, but searching on MSDN didn't reveal anything.
Topic archived. No new replies allowed.