Home
last modified time | relevance | path

Searched refs:statm (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/tools/
H A DProcStats.cpp67 if (FILE* statm = fopen("/proc/self/statm", "r")) { in getCurrResidentSetSizeBytes()
68 // statm contains: program-size rss shared text lib data dirty, all in page counts. in getCurrResidentSetSizeBytes()
69 int rc = fscanf(statm, "%*d %lld", &rssPages); in getCurrResidentSetSizeBytes()
70 fclose(statm); in getCurrResidentSetSizeBytes()
/third_party/python/Lib/test/
H A Dmemory_watchdog.py3 # stdin should refer to the process' /proc/<PID>/statm: we don't pass the
23 statm = sys.stdin.read() variable
24 data = int(statm.split()[5])
H A Dtest_doctest2.py86 def statm(): member in C
90 >>> print(C.statm()) # 16
92 >>> print(C().statm()) # 17

Completed in 1 milliseconds