Package io.jenkins.plugins.specsmonitor
Class CpuInfo
java.lang.Object
io.jenkins.plugins.specsmonitor.CpuInfo
- All Implemented Interfaces:
Serializable
CPU model name and number of hardware threads (logical processors) of a node.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe clock speed in GHz such as "3.20 GHz", or "N/A" if unknown.intClock speed in MHz, or 0 if unknown.getName()The full name with the clock speed appended in the style of Intel names ("@ 3.20GHz"), unless the name already contains one or the speed is unknown.getScore()intNumber of logical processors (hardware threads) available to the JVM on the node.toString()
-
Constructor Details
-
CpuInfo
-
CpuInfo
-
-
Method Details
-
getName
-
getMaxMhz
@Exported public int getMaxMhz()Clock speed in MHz, or 0 if unknown. This is the maximum frequency where the node reports one, otherwise the nominal or current frequency. -
getClockDisplay
The clock speed in GHz such as "3.20 GHz", or "N/A" if unknown. -
getNameWithClock
The full name with the clock speed appended in the style of Intel names ("@ 3.20GHz"), unless the name already contains one or the speed is unknown. -
getShortName
-
getThreads
@Exported public int getThreads()Number of logical processors (hardware threads) available to the JVM on the node. -
getScore
-
toString
-