Package oshi.driver.windows.perfmon
Class LoadAverage
java.lang.Object
oshi.driver.windows.perfmon.LoadAverage
Utility to calculate a load average equivalent metric on Windows. Starts a daemon thread to collect the necessary
counters and averages in 5-second intervals.
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]
queryLoadAverage
(int nelem) static void
static void
-
Method Details
-
queryLoadAverage
public static double[] queryLoadAverage(int nelem) -
stopDaemon
public static void stopDaemon() -
startDaemon
public static void startDaemon()
-