Package oshi.driver.windows.perfmon
Class SystemInformation
- java.lang.Object
-
- oshi.driver.windows.perfmon.SystemInformation
-
@ThreadSafe public final class SystemInformation extends java.lang.Object
Utility to query System performance counters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemInformation.ContextSwitchProperty
Context switch propertystatic class
SystemInformation.ProcessorQueueLengthProperty
Processor Queue Length property
-
Constructor Summary
Constructors Modifier Constructor Description private
SystemInformation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<SystemInformation.ContextSwitchProperty,java.lang.Long>
queryContextSwitchCounters()
Returns system context switch counters.static java.util.Map<SystemInformation.ProcessorQueueLengthProperty,java.lang.Long>
queryProcessorQueueLength()
Returns processor queue length.
-
-
-
Method Detail
-
queryContextSwitchCounters
public static java.util.Map<SystemInformation.ContextSwitchProperty,java.lang.Long> queryContextSwitchCounters()
Returns system context switch counters.- Returns:
- Context switches counter for the total of all processors.
-
queryProcessorQueueLength
public static java.util.Map<SystemInformation.ProcessorQueueLengthProperty,java.lang.Long> queryProcessorQueueLength()
Returns processor queue length.- Returns:
- Processor Queue Length.
-
-