HomeSort by relevance Sort by last modified time
    Searched refs:statm (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/tools/
multi_process_rss.py 107 statm = procfs.ProcStatm.load(pid)
108 if not statm:
109 _LOGGER.warning('/proc/%d/statm not found.' % pid)
111 resident += statm.resident
112 shared += statm.share
113 private += (statm.resident - statm.share)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_doctest2.py 88 def statm(): member in class:C
92 >>> print C.statm() # 16
94 >>> print C().statm() # 17
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_doctest2.py 88 def statm(): member in class:C
92 >>> print C.statm() # 16
94 >>> print C().statm() # 17
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
RootProcessScanner.java 101 File statm = getProcessStatM(processDir); local
104 scanner = new Scanner(statm);
115 + " statm expected to have 7 integers (man 5 proc)");
127 return new File(processDir, "statm");
  /external/chromium_org/tools/linux/
procfs.py 119 """Reads and stores information in /proc/pid/statm."""
145 statm = ProcStatm._PATTERN.match(raw[0])
147 statm.groupdict().get('SIZE'),
148 statm.groupdict().get('RESIDENT'),
149 statm.groupdict().get('SHARE'),
150 statm.groupdict().get('TEXT'),
151 statm.groupdict().get('LIB'),
152 statm.groupdict().get('DATA'),
153 statm.groupdict().get('DT'))
158 with open(os.path.join('/proc', str(pid), 'statm'), 'r') as statm_f
697 def statm(self): member in class:_ProcessMemory
    [all...]
  /external/chromium_org/base/process/
process_metrics_linux.cc 328 // Private and Shared working set sizes are obtained from /proc/<pid>/statm.
331 // Use statm instead of smaps because smaps is:
341 std::string statm;
343 FilePath statm_file = internal::GetProcPidDir(process_).Append("statm");
346 bool ret = ReadFileToString(statm_file, &statm);
347 if (!ret || statm.length() == 0)
352 SplitString(statm, ' ', &statm_vec);
368 // Can't get swapped memory from statm.

Completed in 1805 milliseconds