public static final class ChromeOsDevice.CpuInfo.LogicalCpus extends GenericJson
Modifier and Type | Class and Description |
---|---|
static class |
ChromeOsDevice.CpuInfo.LogicalCpus.CStates
Status of a single C-state.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LogicalCpus() |
Modifier and Type | Method and Description |
---|---|
ChromeOsDevice.CpuInfo.LogicalCpus |
clone() |
List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> |
getCStates()
C-States indicate the power consumption state of the CPU.
|
Integer |
getCurrentScalingFrequencyKhz()
Current frequency the CPU is running at.
|
String |
getIdleDuration()
Idle time since last boot.
|
Integer |
getMaxScalingFrequencyKhz()
Maximum frequency the CPU is allowed to run at, by policy.
|
ChromeOsDevice.CpuInfo.LogicalCpus |
set(String fieldName,
Object value) |
ChromeOsDevice.CpuInfo.LogicalCpus |
setCStates(List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> cStates)
C-States indicate the power consumption state of the CPU.
|
ChromeOsDevice.CpuInfo.LogicalCpus |
setCurrentScalingFrequencyKhz(Integer currentScalingFrequencyKhz)
Current frequency the CPU is running at.
|
ChromeOsDevice.CpuInfo.LogicalCpus |
setIdleDuration(String idleDuration)
Idle time since last boot.
|
ChromeOsDevice.CpuInfo.LogicalCpus |
setMaxScalingFrequencyKhz(Integer maxScalingFrequencyKhz)
Maximum frequency the CPU is allowed to run at, by policy.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> getCStates()
null
for nonepublic ChromeOsDevice.CpuInfo.LogicalCpus setCStates(List<ChromeOsDevice.CpuInfo.LogicalCpus.CStates> cStates)
cStates
- cStates or null
for nonepublic Integer getCurrentScalingFrequencyKhz()
null
for nonepublic ChromeOsDevice.CpuInfo.LogicalCpus setCurrentScalingFrequencyKhz(Integer currentScalingFrequencyKhz)
currentScalingFrequencyKhz
- currentScalingFrequencyKhz or null
for nonepublic String getIdleDuration()
null
for nonepublic ChromeOsDevice.CpuInfo.LogicalCpus setIdleDuration(String idleDuration)
idleDuration
- idleDuration or null
for nonepublic Integer getMaxScalingFrequencyKhz()
null
for nonepublic ChromeOsDevice.CpuInfo.LogicalCpus setMaxScalingFrequencyKhz(Integer maxScalingFrequencyKhz)
maxScalingFrequencyKhz
- maxScalingFrequencyKhz or null
for nonepublic ChromeOsDevice.CpuInfo.LogicalCpus set(String fieldName, Object value)
set
in class GenericJson
public ChromeOsDevice.CpuInfo.LogicalCpus clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.