1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

8 commits

Author SHA1 Message Date
nobu
ef6abd10c7 profiler.rb: TracePoint
* lib/profiler.rb (Profiler__::PROFILE_PROC): use TracePoint.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-23 08:57:22 +00:00
ktsj
42c18fe764 * lib/profiler.rb: support calling singleton methods of
an instance of BasicObject.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-18 01:03:35 +00:00
drbrain
455c23fa01 Clean whitespace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-23 23:35:21 +00:00
drbrain
480ea9ffae * lib/profiler.rb: Add Profiler documentation by Gonzalo Rodriguez.
[Bug #5816]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-23 23:15:44 +00:00
nobu
71b1673229 * lib/profiler.rb (Profiler__#print_profile): sort in the descending
order of cumulative time.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-09 02:13:41 +00:00
matz
41c48d1ee8 * eval.c (call_trace_func): klass parameter should be a
class/module that defines calling method.  [ruby-talk:169307]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 15:46:49 +00:00
ocean
4c72dfd39f * lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"
[ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 07:54:20 +00:00
matz
71ef585f4e * object.c (Init_Object): should not remove Class#allocate.
* lib/profiler.rb: separate profiling functions, without
  trace_func and at_exit setting.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-20 09:00:10 +00:00