code: def track_net_io_counters(self):
      res = psutil.net_io_counters()
      t = time.time()
      if "net.recv" in self.cache:
          td = t - self.cache["net.time"]
          self.data.update(
              {
                  "net.recv": (res.bytes_recv - self.cache["net.recv"])
                  / td,
                  "net.sent": (res.bytes_sent - self.cache["net.sent"])
                  / td,
              }
          )
      self.cache["net.recv"] = res.bytes_recv
      self.cache["net.sent"] = res.bytes_sent
      self.cache["net.time"] = t
  
imports: import time
  from pathlib import Path
  import psutil
  from labml import logger
  from labml.internal.computer.monitor.process import ProcessMonitor
  from labml.logger import Text
  from labml.utils.notice import labml_notice
label_desc: Use image node_id 7 for calling the Scanner obj's underlying member method code with example usage: obj.track_net_io_counters() without return types