Package oshi.software.os.windows
Class WindowsOSSystemInfo
java.lang.Object
oshi.software.os.windows.WindowsOSSystemInfo
Windows OS native system information.
-
Constructor Summary
ConstructorDescriptionConstructor for WindowsOSSystemInfo.WindowsOSSystemInfo(com.sun.jna.platform.win32.WinBase.SYSTEM_INFO si)
Constructor for WindowsOSSystemInfo. -
Method Summary
-
Constructor Details
-
WindowsOSSystemInfo
public WindowsOSSystemInfo()Constructor for WindowsOSSystemInfo. -
WindowsOSSystemInfo
public WindowsOSSystemInfo(com.sun.jna.platform.win32.WinBase.SYSTEM_INFO si)Constructor for WindowsOSSystemInfo.- Parameters:
si
- aWinBase.SYSTEM_INFO
object.
-
-
Method Details
-
getNumberOfProcessors
public int getNumberOfProcessors()Number of processors.- Returns:
- Integer.
-