/external/chromium-trace/catapult/common/py_utils/py_utils/ |
memory_debug.py | 11 import psutil 13 psutil = None variable 45 if not psutil: 46 logging.warning('psutil module is not found, skipping logging memory info') 48 if psutil.version_info < (2, 0): 49 logging.warning('psutil %s too old, upgrade to version 2.0 or higher' 50 ' for memory usage information.', psutil.__version__) 54 # check for a recent enough psutil version above, the catapult presubmit 55 # builder (still running some old psutil) fails pylint checks due to API 56 # changes in psutil [all...] |
/external/chromium-trace/catapult/devil/devil/android/tools/ |
device_recovery.py | 14 import psutil 36 for p in psutil.process_iter(): 39 # as newer (v2 and over) versions of psutil. 40 # See: http://grodola.blogspot.com/2014/01/psutil-20-porting.html 45 except (psutil.NoSuchProcess, psutil.AccessDenied): 54 except (psutil.NoSuchProcess, psutil.AccessDenied): 59 except (psutil.NoSuchProcess, psutil.AccessDenied) [all...] |
/external/webrtc/tools/cpu/ |
cpu_mon.py | 12 import psutil 28 self.samples.append(psutil.cpu_percent(1.0, False))
|
/external/libcxx/utils/libcxx/ |
util.py | 251 using the psutil module which provides a simple platform 254 TODO: Reimplement this without using psutil so we can 257 import psutil 259 psutilProc = psutil.Process(pid) 260 # Handle the different psutil API versions 262 # psutil >= 2.x 265 # psutil 1.x 270 except psutil.NoSuchProcess: 273 except psutil.NoSuchProcess:
|
/external/tensorflow/tensorflow/tools/ci_build/install/ |
install_pip_packages.sh | 91 pip2 install psutil 92 pip3 install psutil
|
/external/tensorflow/tensorflow/tools/test/ |
system_info_lib.py | 28 # Note: cpuinfo and psutil are not installed for you in the TensorFlow 31 import psutil 70 vmem = psutil.virtual_memory()
|
run_and_gather_logs.py | 41 # Note: cpuinfo and psutil are not installed for you in the TensorFlow 45 import psutil
|
/external/llvm/utils/lit/lit/ |
util.py | 261 using the psutil module which provides a simple platform 264 TODO: Reimplement this without using psutil so we can 267 import psutil 269 psutilProc = psutil.Process(pid) 270 # Handle the different psutil API versions 272 # psutil >= 2.x 275 # psutil 1.x 280 except psutil.NoSuchProcess: 283 except psutil.NoSuchProcess:
|
LitConfig.py | 80 # The current implementation needs psutil to set 84 import psutil 87 " Python psutil module but it could not be"
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
util.py | 400 (recursively). It is currently implemented using the psutil module which 403 TODO: Reimplement this without using psutil so we can remove 407 import psutil 409 psutilProc = psutil.Process(pid) 410 # Handle the different psutil API versions 412 # psutil >= 2.x 415 # psutil 1.x 420 except psutil.NoSuchProcess: 423 except psutil.NoSuchProcess:
|
LitConfig.py | 90 # The current implementation needs psutil to set 94 import psutil # noqa: F401 97 " Python psutil module but it could not be"
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
text_line_dataset_test.py | 33 import psutil # pylint: disable=g-import-not-at-top 159 "psutil is required to check that we've closed our files.") 160 open_files = psutil.Process().open_files()
|
/external/autotest/site_utils/ |
gs_offloader.py | 51 # Autotest requires the psutil module from site-packages, so it must be imported 55 import psutil 57 psutil = None variable [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
forwarder.py | 11 import psutil 30 p = psutil.Process(pid) 33 else: # Process.create_time is a property in old versions of psutil.
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
summary_ops_test.py | 749 import psutil # pylint: disable=g-import-not-at-top 751 raise unittest.SkipTest('test requires psutil') 752 proc = psutil.Process() 766 import psutil # pylint: disable=g-import-not-at-top 768 raise unittest.SkipTest('test requires psutil') 769 proc = psutil.Process() [all...] |