LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CPU time used by processus

Is it possible to get % of CPU used by a process with any SDK function?

I found GetProcessTimes but only Kernel Time is enable and not CPU.
0 Kudos
Message 1 of 2
(2,585 Views)
Check out the NtQuerySystemInformation function in the SDK.
You can also try the performance counter API.

Sound like it could do the trick.

Bilal Durrani
NI
Bilal Durrani
NI
Message 2 of 2
(2,585 Views)