Class DeviceSystemStats


  • public class DeviceSystemStats
    extends Object
    A representation of system stats of device.
    • Constructor Detail

      • DeviceSystemStats

        public DeviceSystemStats​(DeviceMemoryStats memoryStats,
                                 DeviceCpuStats cpuStats)
        Creates deviceSystemStats object.
        Parameters:
        memoryStats - memory statisics of the device
        cpuStats - cpu statistics of the device
    • Method Detail

      • getMemory

        public DeviceMemoryStats getMemory()
        Get memory usage statistics.
        Returns:
        deviceMemoryStats, device memory usage stats in KB
      • getCpu

        public DeviceCpuStats getCpu()
        Get cpu usage statistics.
        Returns:
        deviceCpuStats, device cpu usage stats
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object