Class HWInfo.Processor

  • Enclosing class:
    HWInfo

    public static final class HWInfo.Processor
    extends java.lang.Object
    Returns information about the system processor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int Cores()
      Returns the number of cores available on the system processor.
      static java.lang.String Name()
      Returns the system processor name that is stored in the registry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.IOException
        Returns the number of cores available on the system processor.
        Returns:
        Number of cores as int
        Throws:
        java.io.IOException - if error occurs