summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-03-01 16:02:32 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2016-03-01 16:02:32 +0100
commita18641f6908047bba27c61b8ac450f0999c59d25 (patch)
tree048113a56e8afc5c291a737923730db22c9f4815
parent168e8c95aac8815900d0011fca6d525c831801f4 (diff)
downloadpsutil-a18641f6908047bba27c61b8ac450f0999c59d25.tar.gz
update doc
-rw-r--r--psutil/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/psutil/__init__.py b/psutil/__init__.py
index 8594e4b9..f1b437ae 100644
--- a/psutil/__init__.py
+++ b/psutil/__init__.py
@@ -960,9 +960,12 @@ class Process(object):
return round(overall_percent, 1)
def cpu_times(self):
- """Return a (user, system) namedtuple representing the
- accumulated process time, in seconds.
- This is the same as os.times() but per-process.
+ """Return a (user, system, children_user, children_system)
+ namedtuple representing the accumulated process time, in
+ seconds.
+ This is similar to os.times() but per-process.
+ On OSX and Windows children_user and children_system are
+ always set to 0.
"""
return self._proc.cpu_times()