class RorVsWild::Agent
def measure_section(name, kind: "code", &block)
def measure_section(name, kind: "code", &block) return block.call unless current_execution begin RorVsWild::Section.start do |section| section.commands << name section.kind = kind end block.call ensure RorVsWild::Section.stop end end