code: def plot_rate(self, name):
      if not name in self.samples:
          return
  
      x = []
      y = []
  
      any_valid_samples = False
  
      for sample in self.samples[name]:
          if sample[1] == 0:
              continue
  
          x.append(sample[0])
          y.append(float(sample[0]) / (float(sample[1]) * 1e-3))
          any_valid_samples = True
  
      if not any_valid_samples:
          return
  
      pylab.loglog(x, y, marker="o", label=name)
      pylab.xlabel("Size")
      pylab.ylabel("Rate (values/s)")
      pylab.title(self.name)
  
file_path: turicreate/src/external/boost/boost_1_68_0/libs/compute/perf/perf.py
imports: import os
  import sys
  import subprocess
label_desc: Use image node_id 5 for calling the Report obj's underlying member method code with example usage: obj.plot_rate(name) without return types