code: def print_stats(self):
          
          funcname = self.fn.__name__
          filename = self.fn.__code__.co_filename
          lineno = self.fn.__code__.co_firstlineno
          print("")
          print("*** PROFILER RESULTS ***")
          print("%s (%s:%s)" % (funcname, filename, lineno))
          if self.skipped:
              skipped = "(%d calls not profiled)" % self.skipped
          else:
              skipped = ""
          print("function called %d times%s" % (self.ncalls, skipped))
          print("")
          stats = self.stats
          if self.filename:
              stats.dump_stats(self.filename)
          if not self.dirs:
              stats.strip_dirs()
          stats.sort_stats(*self.sort)
          stats.print_stats(self.entries)
docs: Print profile information to sys.stdout.