Package com.jgcomptech.tools
Class HWInfo.Processor
- java.lang.Object
-
- com.jgcomptech.tools.HWInfo.Processor
-
- Enclosing class:
- HWInfo
public static final class HWInfo.Processor extends java.lang.ObjectReturns information about the system processor.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intCores()Returns the number of cores available on the system processor.static java.lang.StringName()Returns the system processor name that is stored in the registry.
-
-
-
Method Detail
-
Name
public static java.lang.String Name()
Returns the system processor name that is stored in the registry.- Returns:
- Processor name as string
-
Cores
public static int Cores() throws java.io.IOExceptionReturns the number of cores available on the system processor.- Returns:
- Number of cores as int
- Throws:
java.io.IOException- if error occurs
-
-