mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* 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
This commit is contained in:
parent
da32ce1a67
commit
41c48d1ee8
3 changed files with 7 additions and 2 deletions
|
@ -34,7 +34,7 @@ module_function
|
|||
total = Process.times[0] - @@start
|
||||
if total == 0 then total = 0.01 end
|
||||
data = @@map.values
|
||||
data.sort!{|a,b| b[2] <=> a[2]}
|
||||
data = data.sort_by{|x| x[2]}
|
||||
sum = 0
|
||||
f.printf " %% cumulative self self total\n"
|
||||
f.printf " time seconds seconds calls ms/call ms/call name\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue