diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-12-19 01:29:27 +0100 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-12-19 01:29:27 +0100 |
| commit | e7d0efad3fa44de4310925cf3063132545edc3bd (patch) | |
| tree | 2ec013e97404e3b052ffb76804f6c792b14667e1 /psutil | |
| parent | d5878ab9392666a3d0e20260f955621075649cf7 (diff) | |
| download | psutil-e7d0efad3fa44de4310925cf3063132545edc3bd.tar.gz | |
update doc
Diffstat (limited to 'psutil')
| -rw-r--r-- | psutil/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/psutil/__init__.py b/psutil/__init__.py index 3269c857..79817b1d 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -981,6 +981,14 @@ class Process(object): In this case is recommended for accuracy that this function be called with at least 0.1 seconds between calls. + A value > 100.0 can be returned in case of processes running + multiple threads on different CPU cores. + + The returned value is explicitly *not* split evenly between + all available logical CPUs. This means that a busy loop process + running on a system with 2 logical CPUs will be reported as + having 100% CPU utilization instead of 50%. + Examples: >>> import psutil |
