QueryPerformanceCounter on SMP machines

M

Mark Mullin

We're using C# and calling QueryPerformanceCounter to implement an
internal id generator along the lines of GUID. We can't set thread
affinity easily from C# because C# Thread != Win32 thread. There's a
lot of back and forth about QPC, what we'd like to know is

Is QueryPerformance counter guaranteed to be monotonically increasing
on each call in a SMP configuration?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top