class_docstr: Class for collecting resource usage info from this or child process.
class_docstr_tok: ["Class","for","collecting","resource","usage","info","from","this","or","child","process","."]
docstr: Constructs a ResourceMonitor object.
docstr_tok: ["Constructs","a","ResourceMonitor","object","."]
code: def __init__(self):
      """Constructs a ResourceMonitor object."""
      self.wall_start = None
      self.metrics_pb = self._initial_metrics_protobuf()
  
file_path: deepvariant/deepvariant/resources.py
imports: import platform
  import resource
  import time
  import psutil
  from deepvariant.protos import resources_pb2
label_desc: Use image node_id 1 to create a new ResourceMonitor object from inherited base classes: object with example: obj = ResourceMonitor()