Quote:
Originally Posted by DavisC
So i just add the #define up with the includes and use the function wherever I need to and do the math from there.
Thanks.
|
That's right. Typically, it looks like this:
Code:
UINT32 startTime = GetMsecTime();
//
// Do something that you want to time.
//
printf("Elapsed time = %d msec\n", GetMsecTime() - startTime);