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: Starts timers associated with resource collection.
  
  This method must be called before metrics().
  
  Returns:
    self to enable the idiom `monitor = ResourceMonitor().start()`.
docstr_tok: ["Starts","timers","associated","with","resource","collection",".","This","method","must","be","called","before","metrics","(",")",".","Returns",":","self","to","enable","the","idiom","`","monitor","=","ResourceMonitor","(",")",".start","(",")","`","."]
code: def start(self):
      """Starts timers associated with resource collection.
  
      This method must be called before metrics().
  
      Returns:
        self to enable the idiom `monitor = ResourceMonitor().start()`.
      """
      self.wall_start = time.time()
      return self
  
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 5 for calling the ResourceMonitor obj's underlying member method code with example usage: obj.start() and returns: self