Support Python versions and platforms with no time.monotonic() function
commit83261e97e558623d402c903af3ed30a1789d453c
authorPaul Wise <pabs3@bonedaddy.net>
Thu, 4 May 2017 13:43:54 +0000 (4 21:43 +0800)
committerPaul Wise <pabs3@bonedaddy.net>
Thu, 4 May 2017 13:47:22 +0000 (4 21:47 +0800)
treeb27314b294f1e4f2cc8e7f20707044a9993803d5
parente14ecff45ee26203dfef61f9e84fe3555837066b
Support Python versions and platforms with no time.monotonic() function

Python 2 and Python 3 earlier than 3.3 do not have this function.

Use the PyPI monotonic backport module if needed and available.

Fall back on non-monotonic time if neither is available.
iotop/data.py
iotop/ui.py