Documentation of 'jsat.utils.SystemInfo' Java class
SystemInfo
jsat.utils

Class SystemInfo



  • public class SystemInfo
    extends java.lang.Object
    This class provides Static system information that may be useful for algorithms that want to adjust their behavior based on the system's hardware information. All information supposes that hardware is consistent, ie: all memory installed is of the same type and all CPUs installed are the same model and stepping.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int L2CacheSize
      Contains the per core L2 Cache size.
      static int LogicalCores 
      static java.lang.String OS_String 
    • Constructor Summary

      Constructors 
      Constructor and Description
      SystemInfo() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean isLinux() 
      static boolean isMac() 
      static boolean isWindows() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LogicalCores

        public static final int LogicalCores
      • OS_String

        public static final java.lang.String OS_String
      • L2CacheSize

        public static final int L2CacheSize
        Contains the per core L2 Cache size. The value returned will be '0' if there was an error obtaining the size
    • Constructor Detail

      • SystemInfo

        public SystemInfo()
    • Method Detail

      • isWindows

        public static boolean isWindows()
        Returns:
        true if this machine is running some version of Windows
      • isMac

        public static boolean isMac()
        Returns:
        true is this machine is running some version of Mac OS X
      • isLinux

        public static boolean isLinux()
        Returns:
        true if this machine is running some version of Linux

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.