code: def gather_parsing_stats(self):
          
          if self.verbose:
              start_time = time.clock()
              try:
                  yield
              finally:
                  elapsed_time = time.clock() - start_time
                  printerr("Time while parsing:", elapsed_time, "seconds")
                  if packrat_cache:
                      hits, misses = ParserElement.packrat_cache_stats
                      printerr("Packrat parsing stats:", hits, "hits;", misses, "misses")
          else:
              yield
docs: Times parsing if --verbose.