G
Guest
Hi, all!
Thanks a lot for your responses. We are using the GetProcessTimes for
calculation of cpu usage. We are using the following calcution for get cpu
usage:
(((NUserTime - OUserTime) + (NKernelTime - OKernelTime))*100) / (NTime -
OTime)/NumProcessors,
where
NUserTime - is the user time during process execution
OUserTime - is the last user time during process execution
NKernelTime - is the kernel time during process execution
OKernelTime- is the kernel time during process execution
NTime - is the current time
OTime - is the last time
NumProcessors - is the number of processors.
Are we right?
Thanks a lot in advance.
Best regards,
Paulo Eduardo
Thanks a lot for your responses. We are using the GetProcessTimes for
calculation of cpu usage. We are using the following calcution for get cpu
usage:
(((NUserTime - OUserTime) + (NKernelTime - OKernelTime))*100) / (NTime -
OTime)/NumProcessors,
where
NUserTime - is the user time during process execution
OUserTime - is the last user time during process execution
NKernelTime - is the kernel time during process execution
OKernelTime- is the kernel time during process execution
NTime - is the current time
OTime - is the last time
NumProcessors - is the number of processors.
Are we right?
Thanks a lot in advance.
Best regards,
Paulo Eduardo