Class SystemInformation
java.lang.Object
oshi.driver.common.windows.perfmon.SystemInformation
System performance counter enums
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumContext switch propertystatic enumProcessor Queue Length property -
Method Summary
Modifier and TypeMethodDescriptionReturns context switch counters.Returns processor queue length.
-
Method Details
-
queryContextSwitchCounters
public static Map<SystemInformation.ContextSwitchProperty, Long> queryContextSwitchCounters(PerfCounterQueryExecutor executor) Returns context switch counters.- Parameters:
executor- the performance counter query executor- Returns:
- Context switch counters, or empty map if OS counters are disabled.
-
queryProcessorQueueLength
public static Map<SystemInformation.ProcessorQueueLengthProperty, Long> queryProcessorQueueLength(PerfCounterQueryExecutor executor) Returns processor queue length.- Parameters:
executor- the performance counter query executor- Returns:
- Processor Queue Length, or empty map if OS counters are disabled.
-