% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/debrief.R
\name{pv_print_debrief}
\alias{pv_print_debrief}
\title{Print profiling summary}
\usage{
pv_print_debrief(x, n_functions = 10, n_lines = 10, n_paths = 5, n_memory = 5)
}
\arguments{
\item{x}{A profvis object from \code{\link[profvis:profvis]{profvis::profvis()}}.}

\item{n_functions}{Number of top functions to show (default 10).}

\item{n_lines}{Number of hot source lines to show (default 10).}

\item{n_paths}{Number of hot paths to show (default 5).}

\item{n_memory}{Number of memory hotspots to show (default 5).}
}
\value{
Invisibly returns a \code{debrief_debrief} object. Use
\code{capture.output()} to capture the formatted text output.
}
\description{
Prints a comprehensive text summary of profiling data suitable for
terminal output or AI agent consumption.
}
\examples{
p <- pv_example()
pv_print_debrief(p)
}
