original_docstring: Helper function to parse an output line.
docstring: Helper function to parse an output line.
docstring_tokens: Helper function to parse an output line .
code: def _ParseLine(pattern, line, approx_total, last_total, histogram):
    """Helper function to parse an output line."""
    if not re.match(pattern, line):
      return last_total
  
    _, msec, percent = line.split()
    counts = _ConvertPercentToAbsolute(approx_total, float(percent))
    bucket_counts = int(round(counts - last_total))
    if bucket_counts > 0:
      histogram.append({'microsec': float(msec) * 1000,
                        'count': bucket_counts})
    return counts
code_tokens: def _ParseLine ( pattern , line , approx_total , last_total , histogram ) : if not re . match ( pattern , line ) : return last_total _ , msec , percent = line . split ( ) counts = _ConvertPercentToAbsolute ( approx_total , float ( percent ) ) bucket_counts = int ( round ( counts - last_total ) ) if bucket_counts > 0 : histogram . append ( { 'microsec' : float ( msec ) * 1000 , 'count' : bucket_counts } ) return counts
short_docstring: Helper function to parse an output line.
short_docstring_tokens: Helper function to parse an output line .
comment: """Helper function to parse an output line."""