code: def track_cpu():
      res = psutil.cpu_times()
      tracker.add(
          {
              "cpu.idle": res.idle,
              "cpu.system": res.system,
              "cpu.user": res.user,
          }
      )
      res = psutil.cpu_freq()
      tracker.add(
          {
              "cpu.freq": res.current,
              "cpu.freq.min": res.min,
              "cpu.freq.max": res.max,
          }
      )
      res = psutil.cpu_percent(percpu=True)
      tracker.add({f"cpu.perc.{i}": p for i, p in enumerate(res)})
  
file_path: labml/client/test/hardware_track.py
imports: import time
  import psutil
  from labml import lab, experiment, tracker
  from labml.logger import inspect
label_desc: Use image node_id 3 for calling a global function with example usage: track_cpu() without return types