chrome.system.cpu
Description
Use the system.cpu API to query CPU metadata.
Permissions
system.cpu
Types
CpuInfo
Properties
-
The architecture name of the processors.
-
A set of feature codes indicating some of the processor's capabilities. The currently supported codes are "mmx", "sse", "sse2", "sse3", "ssse3", "sse4_1", "sse4_2", and "avx".
-
The model name of the processors.
-
The number of logical processors.
-
Information about each logical processor.
-
List of CPU temperature readings from each thermal zone of the CPU. Temperatures are in degrees Celsius.
Currently supported on Chrome OS only.
CpuTime
Properties
-
The cumulative time spent idle by this processor.
-
The cumulative time used by kernel programs on this processor.
-
The total cumulative time for this processor. This value is equal to user + kernel + idle.
-
The cumulative time used by userspace programs on this processor.
ProcessorInfo
Properties
-
Cumulative usage info for this logical processor.
Methods
getInfo()
chrome.system.cpu.getInfo(): Promise<CpuInfo>
Queries basic CPU information of the system.