Home |
RTKernel-32 Programming Manual Function CPURelativeLoad |
Function CPURelativeLoadCPURelativeLoad calculates the relative CPU load since the call to CPUMonitorStart or the last call to CPURelativeLoad: unsigned CPURelativeLoad(unsigned Factor); The function return value is in the range of 0 .. Factor. 0 means that all CPU time was available; Factor means that no CPU time was available. If Factor is set to 100, the return value is in percent. The return value is rounded down to the next lower integer value.
|