diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-25 03:50:00 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-25 03:50:00 +0000 |
commit | abcbd7ea38f64f942a934ba065aabf9da81a21bc (patch) | |
tree | 8bf33e560f4c99904d36a1f0681bf5c2ebd34dae /ext/probeprofiler/lib/probeprofile.rb | |
parent | 354844be45efe799031b1a9799e8c6d52cc6b16d (diff) |
* yarvcore.h: remove rb_control_frame_t#callee_id.
* vm_macro.def: ditto.
* eval_intern.h (exec_event_hooks): fix to check event flags
* eval_intern.h (EXEC_EVENT_HOOK): fix to re-check event flags.
* ext/probeprofiler : added. this profiler is sampling based
profiler.
* vm.c: add rb_thread_current_status() API for probeprofiler.
* thread.c (rb_thread_execute_interrupts): add comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/probeprofiler/lib/probeprofile.rb')
-rw-r--r-- | ext/probeprofiler/lib/probeprofile.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/probeprofiler/lib/probeprofile.rb b/ext/probeprofiler/lib/probeprofile.rb new file mode 100644 index 0000000000..f5ff40d2cc --- /dev/null +++ b/ext/probeprofiler/lib/probeprofile.rb @@ -0,0 +1,7 @@ +require 'probeprofiler'
+END{
+ ProbeProfiler.stop_profile
+ ProbeProfiler.print_profile
+}
+
+ProbeProfiler.start_profile
|