Re: How can I get the minimum time unit in vc?



Hi Johnny!

   I want to calculate the run time of some specific functions like
Truetime. But I found a serious problem: As I know so far, the minimum
time unit in vc is milliseconds. If func A() runs with 0.01ms, we get
0ms. But what if the A() is called a million times? That's a big
amount. Is there any solution to help with this problem? Thanks for
your help.

Take a look at - QueryPerformanceCounter - QueryPerformanceFrequency

--
Greetings
  Jochen

   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/
.


Loading