% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{diagnostics}
\alias{diagnostics}
\title{Diagnostics API}
\description{
Comprehensive diagnostics for shard parallel execution, providing
insights into memory usage, worker status, task execution, and shared memory
segments.
}
\details{
The diagnostics API provides multiple views into shard's runtime behavior:
\itemize{
\item \code{report()}: Primary entry point with configurable detail levels
\item \code{mem_report()}: Memory usage across workers
\item \code{cow_report()}: Copy-on-write policy tracking
\item \code{copy_report()}: Data transfer statistics
\item \code{task_report()}: Task/chunk execution statistics
\item \code{segment_report()}: Shared memory segment information
}

All functions return S3 \code{shard_report} objects with appropriate print
methods for human-readable output.
}
