mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
e6583a6227
The fallback at [1], when psutil.disk_io_counters() fails, returns a simple list but callers to get_disk_io_counters() expect an object with specific properties. Returning a stub object from PsutilStub fixes that. [1] https://dxr.mozilla.org/mozilla-central/rev/1d025ac534a6333a8170a59a95a8a3673d4028ee/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py#67 |
||
---|---|---|
.. | ||
mozsystemmonitor | ||
tests | ||
README.rst | ||
setup.py |
================ mozsystemmonitor ================ mozsystemmonitor contains modules for monitoring a running system. SystemResourceMonitor ===================== mozsystemmonitor.resourcemonitor.SystemResourceMonitor is class used to measure system resource usage. It is useful to get a handle on what an overall system is doing.