class_docstr: An obscure object encompassing timing results recorded by
  :func:`~cupyx.profiler.benchmark`. Simple statistics can be obtained by
  converting an instance of this class to a string.
  
  .. warning::
      This API is currently experimental and subject to change in future
      releases.
code: def to_str(self, show_gpu=False):
      results = [self._to_str_per_item("CPU", self._ts[0])]
      if show_gpu:
          for i, d in enumerate(self._devices):
              results.append(
                  self._to_str_per_item(
                      "GPU-{}".format(d), self._ts[1 + i]
                  )
              )
      return "{:<20s}:{}".format(self.name, " ".join(results))
  
file_path: cupy/cupyx/profiler/_time.py
imports: import math
  import time
  import numpy
  import cupy
  from cupy_backends.cuda.api import runtime
label_desc: Use image node_id 6 for calling the _PerfCaseResult obj's underlying member method code with example usage: obj.to_str(show_gpu) and returns: str