Searched refs:psutil (Results 1 - 2 of 2) sorted by relevance

/seL4-camkes-master/tools/cogent/regression/
H A Dmemusage.py22 import psutil namespace
26 PSUTIL2 = psutil.version_info >= (2, 0) if not PSUTIL_NOT_AVAILABLE else False
35 '''Retrieve the memory usage of a particular psutil process without its
38 assert isinstance(proc, psutil.Process)
44 except psutil.AccessDenied:
57 p = psutil.Process(pid)
63 except psutil.NoSuchProcess:
70 except psutil.NoSuchProcess:
135 print("Error: 'psutil' module not available. Run\n"
137 " pip install --user psutil\
[all...]
H A Drun_tests.py33 # Try importing psutil.
36 import psutil namespace
37 from psutil import NoSuchProcess
39 if not hasattr(psutil.Process, "children") and hasattr(psutil.Process, "get_children"):
40 psutil.Process.children = psutil.Process.get_children
77 process = psutil.Process(parent_pid)
295 # If running at least one test, and psutil is not available, print a warning.
298 "Warning: 'psutil' modul
[all...]

Completed in 32 milliseconds