Unable to get Processor Speed in Device
- by mukesh
Hi i am using QueryperformanceFrequency to get the No of cycle i.e processor speed.
But it is showing me the wornd value. It is written in the specicfication is the Processor is about 400MHz, but what we aregetting through code is something 16MHz.
Please porvide any pointer :
The code for Wince device is:
enter code here
LARGE_INTEGER FrequnecyCounter;
QueryPerformanceFrequency(&FrequnecyCounter);
CString temp;
temp.Format(L"%lld",FrequnecyCounter.QuadPart)`AfxMessageBox(temp);
Thanks,
Mukesh