     print_function(function, "", "")
   end
 
-
   defp print_process(pid_atom, count, own) do
-    IO.puts("\n#{List.duplicate(?-, 100)}")
+    IO.puts([?\n, String.duplicate("-", 100)])
     print_row(["s", "B", "s", ".3f", "s"], ["#{pid_atom}", count, "", own, ""])
   end
 

  end

  defp filter_patterns(pattern) do
    Enum.filter(Enum.uniq(Path.wildcard(pattern)), &File.regular?(&1))
  end


  # Profiling functions

  defp profile_code(code_string, opts) do
    # Use compile_quoted since it leaves less noise than eval_quoted
    Code.compile_quoted(quote do
      Mix.Tasks.Profile.Fprof.profile(
        fn ->
          unquote(Code.string_to_quoted!(code_string))
        end,
        unquote(opts)
      )
    end)
  end

  @doc false

    print_row(["s", "B", ".3f", ".3f", "s"], ["Total", count, acc, own, ""])
  end

  # Represents the `pid` entry
  defp print_analysis_result([{pid_atom, count, :undefined, own} | info]) do
    print_process(pid_atom, count, own)

    if spawned_by = info[:spawned_by] do
      IO.puts("  spawned by #{spawned_by}")
    end

    if spawned_as = info[:spawned_as] do
      IO.puts("  as #{function_text(spawned_as)}")
    end

    if initial_calls = info[:initial_calls] do
      IO.puts("  initial calls:")
      Enum.each(initial_calls, &IO.puts("    #{function_text(&1)}"))
    end

    IO.puts("")
