Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_WinUtl_GetCpuUsage

CSV_WinUtl_GetCpuUsage

Gets the percent CPU usage of a specified process, or the total CPU usage.

Note: This function has been deprecated on Windows Vista, and will return 0 when called on this operating system.

Syntax

CSV_WinUtl_GetCpuUsage(sProcessName)

#sProcessName:

Name of process, or "" to get total CPU usage.

Return Value

Percentage CPU usage.