code: def parse(s):
      
      stopwatch = StopWatch()
      for line in s.splitlines():
        if line.strip():
          parts = line.split(None)
          name = parts[0]
          if name != "%":  # ie not the header line
            rest = (float(v) for v in parts[2:])
            stopwatch.times[parts[0]].merge(Stat.build(*rest))
      return stopwatch
docs: Parse the output below to create a new StopWatch.