Class: Rubyboy::Stackprof

Inherits:
Object
  • Object
show all
Defined in:
lib/stackprof.rb

Instance Method Summary collapse

Instance Method Details

#runObject



8
9
10
11
12
# File 'lib/stackprof.rb', line 8

def run
  StackProf.run(mode: :cpu, out: 'stackprof-cpu-myapp.dump', raw: true) do
    Rubyboy::Emulator.new('lib/roms/tobu.gb').bench
  end
end