# File lib/ruby-prof/dot_printer.rb, line 42 def print(output = STDOUT, options = {}) @output = output setup_options(options) total_time = thread_times.values.inject{|a,b| a+b} puts 'digraph "Profile" {' puts "label=\"#{mode_name} >=#{min_percent}%\\nTotal: #{total_time}\";" puts "labelloc=t;" puts "labeljust=l;" print_threads puts '}' end