Class OSUtil.NativeMemoryUsage

  • Enclosing class:
    OSUtil

    public static class OSUtil.NativeMemoryUsage
    extends java.lang.Object
    Native memory usage info collected from OS.
    Author:
    Evren Sirin
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long mResidentMem
      Resident memory usage in bytes
      long mVirtualMem
      Virtual memory usage in bytes
    • Constructor Summary

      Constructors 
      Constructor Description
      NativeMemoryUsage​(long mVirtualMem, long mResidentMem)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • mVirtualMem

        public final long mVirtualMem
        Virtual memory usage in bytes
      • mResidentMem

        public final long mResidentMem
        Resident memory usage in bytes
    • Constructor Detail

      • NativeMemoryUsage

        public NativeMemoryUsage​(long mVirtualMem,
                                 long mResidentMem)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object