class RubyProf::CallTreePrinter
def file_name_for_thread(thread)
def file_name_for_thread(thread) if thread.fiber_id == Fiber.current.object_id ["callgrind.out", $$].join(".") else ["callgrind.out", $$, thread.fiber_id].join(".") end end
def file_name_for_thread(thread) if thread.fiber_id == Fiber.current.object_id ["callgrind.out", $$].join(".") else ["callgrind.out", $$, thread.fiber_id].join(".") end end