Package oshi.driver.windows.perfmon
Class ThreadInformation
java.lang.Object
oshi.driver.windows.perfmon.ThreadInformation
Utility to query Thread Information performance counter
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThread performance counters
- 
Method SummaryModifier and TypeMethodDescriptionReturns thread counters.queryThreadCounters(String name, int threadNum) Returns thread counters filtered to the specified process name and thread.
- 
Method Details- 
queryThreadCounterspublic static Pair<List<String>,Map<ThreadInformation.ThreadPerformanceProperty, queryThreadCounters()List<Long>>> Returns thread counters.- Returns:
- Thread counters for each thread.
 
- 
queryThreadCounterspublic static Pair<List<String>,Map<ThreadInformation.ThreadPerformanceProperty, queryThreadCountersList<Long>>> (String name, int threadNum) Returns thread counters filtered to the specified process name and thread.- Parameters:
- name- The process name to filter
- threadNum- The thread number to match. -1 matches all threads.
- Returns:
- Thread counters for each thread.
 
 
-