'Initialize any data structures or variables needed for keeping track
of the tasty bits we find in the log we are parsing.'

def __init__(self, option_string=None):

    self.counts = {}
    self.times = {}
    if option_string:
        options = option_string.split('    ')
    else:
        options = []
    optparser = optparse.OptionParser()
    optparser.add_option('--percentiles', '-p', dest='percentiles', default='90', help='Comma-separated    list    of    integer    percentiles    to    track:    (default:    "90")')
    (opts, args) = optparser.parse_args(args=options)
    self.percentiles = opts.percentiles.split(',')
    self.count_reg = re.compile('.*METRIC_COUNT\\smetric=(?P<count_name>[^\\s]+)\\s+value=(?P<count_value>[0-9.]+)[^0-9.].*')
    self.time_reg = re.compile('.*METRIC_TIME\\smetric=(?P<time_name>[^\\s]+)\\s+value=(?P<time_value>[0-9.]+)\\s*(?P<time_unit>[^\\s$]*).*')
