The following function is not compiling:
double GetCurTime()
{
LARGE_INTEGER CounterFreq;
QueryPerformanceFrequency(&CounterFreq);
LARGE_INTEGER Counter;
QueryPerformanceCounter(&Counter);
return (double)Counter.QuadPart / (double)CounterFreq.QuadPart;
}
The C the compiler I am using does not recognize LARGE_INTEGER
and QueryPerformanceFrequency
.
If anyone recognizes these items, can you please suggest where I might find them?
Perhaps they are in a header file, or a library that I do not currently have.