% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MCIS_helpers.R
\name{record_step}
\alias{record_step}
\title{Update one recorder entry during main loop iteration}
\usage{
record_step(rec, idx, pf_mc, var_mc, I_mc, n_sim, tic)
}
\arguments{
\item{idx}{Current iteration index within main loop.}

\item{pf_mc, var_mc, I_mc, n_sim}{Current cumulative sums from Monte Carlo batches.}

\item{tic}{Start time reference from \code{proc.time()} at simulation start.}
}
\value{
Updated recorder list object with new values inserted at position \code{idx}.
}
\description{
Records current cumulative sums and timing information at iteration index \code{idx}.
}
\keyword{internal}
