QueryPerformanceCounter on SMP machines

  • Thread starter Thread starter Mark Mullin
  • Start date Start date
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
 
Back
Top