diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-20 19:16:20 +0100 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-20 19:16:20 +0100 |
| commit | 35e9fdaacb5c4f31edc201ec0e8960ce24a7827e (patch) | |
| tree | bad49b4bc11d1d62c1353a14c5e51b01c20c4796 /psutil/_psosx.py | |
| parent | 17cbdf8b5e6730373a3b8eb9b0d4a8e477a04fee (diff) | |
| download | psutil-35e9fdaacb5c4f31edc201ec0e8960ce24a7827e.tar.gz | |
#941: add doc
Diffstat (limited to 'psutil/_psosx.py')
| -rw-r--r-- | psutil/_psosx.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/psutil/_psosx.py b/psutil/_psosx.py index 0778b5fb..f7adb43a 100644 --- a/psutil/_psosx.py +++ b/psutil/_psosx.py @@ -166,6 +166,11 @@ def cpu_stats(): def cpu_freq(): + """Return CPU frequency. + On OSX per-cpu frequency is not supported. + Also, the returned frequency never changes, see: + https://arstechnica.com/civis/viewtopic.php?f=19&t=465002 + """ curr, min_, max_ = cext.cpu_freq() return [_common.scpufreq(curr, min_, max_)] |
