code: def __init__(
      self,
      device_index: int,
      child_connection: Connection,
      interval: float,
  ):
      super().__init__()
      self.device_index = device_index
      self.interval = interval
      self.connection = child_connection
      self.mem_usage = 0
  
file_path: optimum/tests/benchmark/memory_tracker.py
imports: import os
  import subprocess
  from contextlib import contextmanager
  from multiprocessing import Pipe, Process
  from multiprocessing.connection import Connection
label_desc: Use image node_id 1 to create a new PeakMemoryMeasureProcess object from inherited base classes: Process with example: obj = PeakMemoryMeasureProcess(device_index, child_connection, interval)