Platforms to show: All Mac Windows Linux Cross-Platform

WindowsSystemCpuUsageReportMBS class   New in 25.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS WinFrameworks Plugin 25.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Provides data about the CPU usage of the system.
Example
var s as new WindowsSystemDiagnosticInfoMBS
var c as WindowsSystemCpuUsageReportMBS = s.CpuUsage

var t as Int64 = c.IdleTime + c.KernelTime + c.UserTime
var percentIdle as Double = c.IdleTime / t
var percentUser as Double = c.UserTime / t
var percentKernel as Double = c.KernelTime / t

var i,u,k as string

i = str(percentIdle, "0.0%") + " idle, "
u = str(percentUser, "0.0%") + " user, "
k = str(percentKernel, "0.0%") + " kernel."

MessageBox i+u+k

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Blog Entries

Release notes

Some properties using for this class:

Some related classes:


The items on this page are in the following plugins: MBS WinFrameworks Plugin.


WindowsStoreVideoMBS   -   WindowsSystemDiagnosticInfoMBS


The biggest plugin in space...