Interface CPUMonitor

    • Method Detail

      • getCPUUsage

        long getCPUUsage()
        Returns the CPU usage as a cumulative number of nanoseconds

        The ResourceMonitor.getUsage() method returns the same value, wrapped in a long.

        Returns:
        the CPU usage in nanoseconds