Commit 11c2f3e
pythongh-132917: Use /proc/self/status for mem usage info. (python#133544)
On Linux, use /proc/self/status for mem usage info. Using smaps_rollup is quite a lot slower and
we can get the similar info from /proc/self/status.1 parent a384253 commit 11c2f3e
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1927 | 1927 | | |
1928 | 1928 | | |
1929 | 1929 | | |
1930 | | - | |
1931 | | - | |
| 1930 | + | |
1932 | 1931 | | |
1933 | 1932 | | |
1934 | 1933 | | |
| |||
1938 | 1937 | | |
1939 | 1938 | | |
1940 | 1939 | | |
1941 | | - | |
1942 | | - | |
| 1940 | + | |
| 1941 | + | |
1943 | 1942 | | |
1944 | | - | |
1945 | | - | |
| 1943 | + | |
| 1944 | + | |
1946 | 1945 | | |
1947 | 1946 | | |
1948 | 1947 | | |
| |||
0 commit comments