diff options
Diffstat (limited to 'psutil')
-rw-r--r-- | psutil/__init__.py | 2 | ||||
-rw-r--r-- | psutil/_pslinux.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/psutil/__init__.py b/psutil/__init__.py index 5b7ee603..3d51b9ed 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -973,7 +973,7 @@ class Process(object): def memory_addrspace_info(self): """This method passes through the whole process address space - in order to calculate highly reliable metrics about "real" + in order to calculate highly reliable metrics about "effective" process memory consumption (USS and PSS). It usually requires higher privileges and is considerably diff --git a/psutil/_pslinux.py b/psutil/_pslinux.py index 11e21fd7..a83056fe 100644 --- a/psutil/_pslinux.py +++ b/psutil/_pslinux.py @@ -978,7 +978,7 @@ class Process(object): _private_re=re.compile(b"Private.*:\s+(\d+)"), _pss_re=re.compile(b"Pss.*:\s+(\d+)"), _swap_re=re.compile(b"Swap.*:\s+(\d+)")): - # Note: using two regexes is faster than reading the file + # Note: using 3 regexes is faster than reading the file # line by line. # XXX: on Python 3 the 2 regexes are 30% slower than on # Python 2 though. Figure out why. |