Class CpuStats


  • public class CpuStats
    extends Object
    • Field Detail

      • totalUsage

        private long totalUsage
        The sum of the overall CPU usage in ms.
    • Constructor Detail

      • CpuStats

        public CpuStats()
      • CpuStats

        public CpuStats​(long totalUsage)
    • Method Detail

      • getTotalUsage

        public long getTotalUsage()
        Returns:
        the totalUsage
      • setTotalUsage

        public void setTotalUsage​(long totalUsage)
        Parameters:
        totalUsage - the totalUsage to set