Class CpuInfo.ProcDetails
java.lang.Object
io.nosqlbench.engine.api.activityimpl.CpuInfo.ProcDetails
- Enclosing class:
- CpuInfo
public static class CpuInfo.ProcDetails
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ProcDetails(oshi.SystemInfo si) -
Method Summary
Modifier and Type Method Description intgetCoreCount()intgetCpuCount()doublegetCurFreq(int cpu)java.util.DoubleSummaryStatisticsgetCurrentSpeed()doublegetCurrentSpeed(int cpu)doublegetMaxFreq(int cpu)java.lang.StringgetMhz()java.lang.StringgetModelName()java.lang.StringtoString()
-
Constructor Details
-
ProcDetails
public ProcDetails(oshi.SystemInfo si)
-
-
Method Details
-
getCoreCount
public int getCoreCount() -
getCpuCount
public int getCpuCount() -
getModelName
public java.lang.String getModelName() -
getMhz
public java.lang.String getMhz() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getMaxFreq
public double getMaxFreq(int cpu) -
getCurFreq
public double getCurFreq(int cpu) -
getCurrentSpeed
public double getCurrentSpeed(int cpu) -
getCurrentSpeed
public java.util.DoubleSummaryStatistics getCurrentSpeed()
-