<% @overall_time = @result.threads.reduce(0) do |val, thread| val += thread.total_time end %>
Call tree for application <%= application %> <%= arguments %>
Generated on <%= Time.now %> with options <%= @options.inspect %>
Threshold:
<% @result.threads.each do |thread| %> <% thread_percent = 100 * (thread.total_time / @overall_time) thread_info = "#{"%4.2f%%" % thread_percent} ~ #{@overall_time}" %>
Thread: <%= thread.id %>, Fiber: <%= thread.fiber_id %> (<%= thread_info %>)
<% end %>