tools/android/appstats.py
def __PrintMemoryStats(self, pid, snapshot, prev_snapshot):
    """Returns a string that includes memory statistics of the |snapshot|.  This
    lines up with the associated header."""
    if not snapshot or not snapshot.HasResults():
      return

    results = snapshot.GetMemoryResults(pid)
    if not results:
      return

    old_results = prev_snapshot.GetMemoryResults(pid) if prev_snapshot else None
    return self.__PrintArrayWithDeltas(results, old_results, 2)
Returns a string that includes memory statistics of the |snapshot|.  This
    lines up with the associated header.
Returns a string that includes memory statistics of the |snapshot|.  This
lines up with the associated header.
Returns a string that includes memory statistics of the |snapshot| . This lines up with the associated header .
def __PrintMemoryStats(self, pid, snapshot, prev_snapshot):
    if not snapshot or not snapshot.HasResults():
      return
    results = snapshot.GetMemoryResults(pid)
    if not results:
      return
    old_results = prev_snapshot.GetMemoryResults(pid) if prev_snapshot else None
    return self.__PrintArrayWithDeltas(results, old_results, 2)
def __PrintMemoryStats ( self , pid , snapshot , prev_snapshot ) : if not snapshot or not snapshot . HasResults ( ) : return results = snapshot . GetMemoryResults ( pid ) if not results : return old_results = prev_snapshot . GetMemoryResults ( pid ) if prev_snapshot else None return self . __PrintArrayWithDeltas ( results , old_results , 2 )
Returns a string that includes memory statistics of the |snapshot|.
Returns a string that includes memory statistics of the |snapshot| .
"""Returns a string that includes memory statistics of the |snapshot|.  This
    lines up with the associated header."""
self
pid
snapshot
prev_snapshot