MCPcopy Create free account
hub / github.com/cosdata/cosdata / __init__

Method __init__

tests/test_hybrid.py:38–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36
37class CPUMonitor:
38 def __init__(self):
39 self.process = None
40 self.monitoring = False
41 self.cpu_samples = []
42 self.monitor_thread = None
43
44 def find_cosdata_process(self):
45 for proc in psutil.process_iter(["pid", "name", "cmdline", "exe"]):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected