[Solved] C++ timer library and Compute Shaders,
Members - Reputation: 1470
Posted 21 March 2012 - 03:26 AM
I am using QueryPerformanceCounter (and for checking also clock()). Both gave +- same results in ms. But if I measure time on my stopwatch I gave totally different time.
C++ timer says 10ms, but its rubbish. Application (computer) freezes for about 30 seconds during shader execution.
How can I measure this ?
Moderators - Reputation: 49094
Posted 21 March 2012 - 04:41 AM
Perhaps you should post some code or describe your testing methodology.