MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / oneshot

Method oneshot

embedded/site-packages/psutil/__init__.py:458–522  ·  view source on GitHub ↗

Utility context manager which considerably speeds up the retrieval of multiple process information at the same time. Internally different process info (e.g. name, ppid, uids, gids, ...) may be fetched by using the same routine, but only one information is returned an

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__str__Method · 0.95
as_dictMethod · 0.95

Calls 2

oneshot_enterMethod · 0.45
oneshot_exitMethod · 0.45

Tested by

no test coverage detected