Package io.engineblock.activityimpl
Class CpuInfo.ProcDetails
- java.lang.Object
-
- io.engineblock.activityimpl.CpuInfo.ProcDetails
-
- Enclosing class:
- CpuInfo
public static class CpuInfo.ProcDetails extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProcDetails(java.util.List<java.util.Map<java.lang.String,java.lang.String>> details)
-
Method Summary
Modifier and Type Method Description java.lang.StringgetCacheInfo()intgetCoreCount()intgetCpuCount()doublegetCurFreq(int cpu)java.util.DoubleSummaryStatisticsgetCurrentSpeed()doublegetCurrentSpeed(int cpu)doublegetMaxFreq(int cpu)java.lang.StringgetMhz()doublegetMinFreq(int cpu)java.lang.StringgetModelName()java.lang.StringtoString()
-
-
-
Method Detail
-
getCoreCount
public int getCoreCount()
-
getCpuCount
public int getCpuCount()
-
getModelName
public java.lang.String getModelName()
-
getMhz
public java.lang.String getMhz()
-
getCacheInfo
public java.lang.String getCacheInfo()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getMaxFreq
public double getMaxFreq(int cpu)
-
getCurFreq
public double getCurFreq(int cpu)
-
getMinFreq
public double getMinFreq(int cpu)
-
getCurrentSpeed
public double getCurrentSpeed(int cpu)
-
getCurrentSpeed
public java.util.DoubleSummaryStatistics getCurrentSpeed()
-
-