code: def _summary(self):
      summary = "%s : %s (%d iterations)" % (
          self.test.__name__,
          self.test.__doc__,
          self.profile.num,
      )
      if self.total_time:
          summary += "; total time %f sec" % self.total_time
      if self.stats:
          summary += "; total fn calls %d" % self.stats.total_calls
      return summary
  
imports: import argparse
  import cProfile
  import gc
  import os
  import pstats
  import re
  import sys
  import time
label_desc: Use image node_id 3 for calling the TestResult obj's underlying member method code with example usage: obj._summary() and returns: summary