diff options
| author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-16 07:29:44 +0000 |
|---|---|---|
| committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-16 07:29:44 +0000 |
| commit | f102f28a12bc44dda029d4b7725a5e15fa4c4477 (patch) | |
| tree | 3a0ac0df4ee028ca80e7c632a66900f7bfa89ee1 /lib | |
| parent | 6c127c1ed870413eb3a16b46440fc243fbc3ccb3 (diff) | |
| download | ruby-f102f28a12bc44dda029d4b7725a5e15fa4c4477.tar.gz ruby-f102f28a12bc44dda029d4b7725a5e15fa4c4477.tar.xz ruby-f102f28a12bc44dda029d4b7725a5e15fa4c4477.zip | |
* include/ruby/ruby.h: added some declarations for event hooks.
* lib/profile.rb: set VM::InstructionSequence.compile_option.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/profile.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/profile.rb b/lib/profile.rb index 104cb205b..19275a3fd 100644 --- a/lib/profile.rb +++ b/lib/profile.rb @@ -1,5 +1,9 @@ require 'profiler' +VM::InstructionSequence.compile_option = { + :trace_instruction => true, + :specialized_instruction => false +} END { Profiler__::print_profile(STDERR) } |
