class BuildLogParser::CoremarkParser

Attributes

data[R]

Public Instance Methods

parse(logtext) click to toggle source
# File lib/buildlogparser/parsers/coremark.rb, line 67
def parse(logtext)
  reset()
  @logtext = logtext
  parser = Coremark::Parser.new
  tree = parser.parse(logtext)
  @data = Coremark::Transform.new.apply(tree)
end
reset() click to toggle source
Calls superclass method BuildLogParser::Parser#reset
# File lib/buildlogparser/parsers/coremark.rb, line 62
def reset()
  super()
   @data = []
end