Sha256: 648215785ff3f458009ea2f45cafba82c3b98588231be4130b0b2ec7dedcadc1
Contents?: true
Size: 516 Bytes
Versions: 1
Compression:
Stored size: 516 Bytes
Contents
require 'instrumentality/executor' require 'instrumentality/finder' require 'instrumentality/constants' module Instrumentality class HeaderGenerator attr_reader :instrument, :verbose def initialize(instrument, verbose) @instrument = instrument @verbose = verbose end def generate dtrace_cmd = %w[dtrace] dtrace_cmd += %W[-h -s #{Finder.path_for_header(Constants::BENCHMARK_SCRIPT)}] cmd = dtrace_cmd.join(' ') Executor.execute(cmd, verbose) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
instrumentality-0.1.0 | lib/instrumentality/header_generator.rb |