Determining CPU Usage in WinCE

I want to get the current% of CPU usage in a C ++ program running Wince.

I found this link which indicates where the source code is located, but I cannot find it in my installation of the platform linker - I expect this to happen because it is not a Windows Automotive platform.

Does anyone know where I can find this source code or (even better) know how I can get this information directly? what causes a DLL / function call, etc.

+3
source share
4 answers

Since GetProcessTimes does not exist in CE, you must calculate this.

API . GetThreadTimes .

, .

+5

, GetIdleTime ( CeGetIdleTimeEx WEC7 ) . GetIdleTime MSDN. , 100.

MSDN , GetIdleTime OAL.

+1

, API- , . , , , .

, , , .

0

Remote Task Monitor. % ( ), , . , .

0

Source: https://habr.com/ru/post/1749241/


All Articles